mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-30 07:21:12 +00: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