forked from townforge/townforge
script_analyzer: catch exceptions at top level
This commit is contained in:
parent
13ee92b7c5
commit
e87d288f82
@ -268,6 +268,8 @@ static void explore_script(const cc::script::ScriptHandle &script, const std::ve
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
TRY_ENTRY();
|
||||
|
||||
epee::string_tools::set_module_name_and_folder(argv[0]);
|
||||
mlog_configure("", true);
|
||||
|
||||
@ -384,4 +386,5 @@ int main(int argc, char **argv)
|
||||
printf("Failed to regenerate source\n");
|
||||
|
||||
return 0;
|
||||
CATCH_ENTRY_L0("main", 1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user