Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Cleaner error messages

  • Loading branch information...
commit 024f8dba52e4eb826ee89c14acf9104456ddcca5 1 parent ed09978
@probablycorey authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/wax_instance.m
View
2  lib/wax_instance.m
@@ -610,7 +610,7 @@ static _type_ WAX_METHOD_NAME(_type_)(id self, SEL _cmd, ...) { \
va_end(args_copy); \
va_end(args); \
if (result == -1) { \
- luaL_error(L, "\n\nError\n-----\nError calling '%s' on lua object '%s'\n%s", _cmd, [[self description] UTF8String], lua_tostring(L, -1)); \
+ luaL_error(L, "Error calling '%s' on '%s'\n%s", _cmd, [[self description] UTF8String], lua_tostring(L, -1)); \
} \
else if (result == 0) { \
_type_ returnValue; \
Please sign in to comment.
Something went wrong with that request. Please try again.