mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 06:55:54 -04:00
Don't suppress exceptions thrown while running scripts
This commit is contained in:
parent
9baa1bef78
commit
154fae9f25
@ -114,10 +114,8 @@ namespace MWScript
|
||||
}
|
||||
catch (const std::exception& e)
|
||||
{
|
||||
std::cerr << "execution of script " << name << " failed." << std::endl;
|
||||
|
||||
if (mVerbose)
|
||||
std::cerr << "(" << e.what() << ")" << std::endl;
|
||||
std::cerr << "Execution of script " << name << " failed:" << std::endl;
|
||||
std::cerr << e.what() << std::endl;
|
||||
|
||||
iter->second.first.clear(); // don't execute again.
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user