aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xprosody2
1 files changed, 1 insertions, 1 deletions
diff --git a/prosody b/prosody
index 99d7602c..e22e5945 100755
--- 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