Welcome Guest, Not a member yet? Register   Sign In
Throw Exception From AJAX Call
#2

[eluser]craigkoster[/eluser]
OK...figured out part of the problem is that I have xdebug running which takes all error messages and formats them nicely via HTML. I removed the xdebug module but my calls to $ex->getMessage() still returns:

Fatal error: Uncaught exception 'Exception' with message 'this is a test' in /[path]:28 Stack trace: #0 [internal function]: Ajax->create_account() #1 /[path]CodeIgniter.php(232): call_user_func_array(Array, Array) #2 /[path]index.php(115): require_once('/[path]) #3 {main} thrown in /[path]/ajax.php on line 28

Is there no way to just get the 'this is a test' part of the message?


Messages In This Thread
Throw Exception From AJAX Call - by El Forum - 09-25-2009, 12:21 PM
Throw Exception From AJAX Call - by El Forum - 09-25-2009, 12:38 PM
Throw Exception From AJAX Call - by El Forum - 09-25-2009, 02:55 PM
Throw Exception From AJAX Call - by El Forum - 09-25-2009, 03:17 PM
Throw Exception From AJAX Call - by El Forum - 09-28-2009, 07:31 AM



Theme © iAndrew 2016 - Forum software by © MyBB