projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e058456
)
Prosody top-level error handler modified to log properly on non-string error messages.
author
Waqas Hussain
<waqas20@gmail.com>
Sun, 25 Oct 2009 16:26:36 +0000
(21:26 +0500)
committer
Waqas Hussain
<waqas20@gmail.com>
Sun, 25 Oct 2009 16:26:36 +0000
(21:26 +0500)
prosody
patch
|
blob
|
history
diff --git
a/prosody
b/prosody
index 99d7602ced855b93047ddf0f9b7cdd1e1b6f3e55..e22e59454ab3070649284db4fe938bc2bb49e610 100755
(executable)
--- a/
prosody
+++ b/
prosody
@@
-282,7
+282,7
@@
end
function loop()
-- Error handler for errors that make it this far
local function catch_uncaught_error(err)
- if err:match("%d*: interrupted!$") then
+ if
type(err) == "string" and
err:match("%d*: interrupted!$") then
return "quitting";
end