# HG changeset patch # User Matthew Wild # Date 1260210726 0 # Node ID 826f6fb7036de6defede3b719ed156e179144945 # Parent c317bfef9b7412421750178e47307afe5aaf49ec prosody: Less strict matching for the magic 'interrupted' error diff -r c317bfef9b74 -r 826f6fb7036d prosody --- a/prosody Fri Dec 04 18:59:28 2009 +0000 +++ b/prosody Mon Dec 07 18:32:06 2009 +0000 @@ -302,7 +302,7 @@ function loop() -- Error handler for errors that make it this far local function catch_uncaught_error(err) - if type(err) == "string" and err:match("%d*: interrupted!$") then + if type(err) == "string" and err:match("interrupted!$") then return "quitting"; end