Add more useful tip for error log

This commit is contained in:
samuele3hu 2014-07-23 13:44:57 +08:00
parent 6d678ce443
commit 0a6af2f758
1 changed files with 2 additions and 2 deletions

View File

@ -6589,7 +6589,7 @@ static int tolua_cocos2d_utils_captureScreen(lua_State* tolua_S)
}
#if COCOS2D_DEBUG >= 1
tolua_lerror:
tolua_error(tolua_S,"#ferror in function 'captureScreen'.",&tolua_err);
tolua_error(tolua_S,"#ferror in function 'tolua_cocos2d_utils_captureScreen'.",&tolua_err);
return 0;
#endif
}
@ -6627,7 +6627,7 @@ static int tolua_cocos2d_utils_findChildren(lua_State* tolua_S)
}
#if COCOS2D_DEBUG >= 1
tolua_lerror:
tolua_error(tolua_S,"#ferror in function 'findChildren'.",&tolua_err);
tolua_error(tolua_S,"#ferror in function 'tolua_cocos2d_utils_findChildren'.",&tolua_err);
return 0;
#endif
}