13
0

More useful debug message (print script that failed to parse)

This commit is contained in:
Robin Gareus 2020-03-15 12:50:30 +01:00
parent 93a5f2d768
commit 213b3cd593
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -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();
}