projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
354f56b
)
Catch uncaught exceptions.
author
Michael M Slusarz
<slusarz@curecanti.org>
Tue, 14 Sep 2010 18:28:05 +0000
(12:28 -0600)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Wed, 15 Sep 2010 14:43:33 +0000
(08:43 -0600)
horde/services/ajax.php
patch
|
blob
|
history
diff --git
a/horde/services/ajax.php
b/horde/services/ajax.php
index
7cadc93
..
a816791
100644
(file)
--- a/
horde/services/ajax.php
+++ b/
horde/services/ajax.php
@@
-45,6
+45,10
@@
try {
$registry->authenticateFailure($app, $e);
}
+} catch (Exception $e) {
+ // Uncaught exception. Sending backtrace info back via AJAX is just a
+ // waste of time.
+ exit;
}
// Open an output buffer to ensure that we catch errors that might break JSON