forked from teamnwah/openmw-tes3coop
Don't suppress exceptions thrown while running scripts
This commit is contained in:
parent
9baa1bef78
commit
154fae9f25
1 changed files with 2 additions and 4 deletions
|
@ -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…
Reference in a new issue