# HG changeset patch # User Matthew Wild # Date 1260210726 0 # Node ID e80790636cbe60da2a93e1a9e5277f169b34f104 # Parent e497718194a37459f617aff8205a5621999410a9 prosody: Less strict matching for the magic 'interrupted' error diff -r e497718194a3 -r e80790636cbe prosody --- a/prosody Mon Dec 07 18:30:57 2009 +0000 +++ b/prosody Mon Dec 07 18:32:06 2009 +0000 @@ -303,7 +303,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