More useful debug message (print script that failed to parse)
This commit is contained in:
parent
93a5f2d768
commit
213b3cd593
@ -216,7 +216,7 @@ LuaScripting::scan_script (const std::string &fn, const std::string &sc)
|
||||
}
|
||||
if (err) {
|
||||
#ifndef NDEBUG
|
||||
cerr << "failed to load lua script\n";
|
||||
cerr << "failed to load lua script fn: '"<< fn << "'\n";
|
||||
#endif
|
||||
return LuaScriptInfoPtr();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user