# HG changeset patch # User Matthew Wild # Date 1275165863 -3600 # Node ID 2fc48318b8bb85e18076ce977e133b1c075e9f8f # Parent 28feb008ca2a1d33d95f7697c6c42e271f9df710 squish: Handle nil errors when can't pack a module diff -r 28feb008ca2a -r 2fc48318b8bb squish.lua --- a/squish.lua Thu May 27 15:32:25 2010 +0100 +++ b/squish.lua Sat May 29 21:44:23 2010 +0100 @@ -231,7 +231,7 @@ modulename, modulename, "@"..path)); end else - print_err("Couldn't pack module '"..modulename.."': "..err); + print_err("Couldn't pack module '"..modulename.."': "..(err or "unknown error... path to module file correct?")); os.exit(1); end end