fixed dialogue script error reporting

This commit is contained in:
Marc Zinnschlag 2012-11-16 12:47:09 +01:00
parent fd5671e6db
commit 89c7936534

View File

@ -211,7 +211,7 @@ namespace MWDialogue
} }
catch (const std::exception& error) catch (const std::exception& error)
{ {
printError (std::string ("An exception has been thrown: ") + error.what()); std::cerr << std::string ("Dialogue error: An exception has been thrown: ") + error.what() << std::endl;
success = false; success = false;
} }
@ -240,7 +240,7 @@ namespace MWDialogue
} }
catch (const std::exception& error) catch (const std::exception& error)
{ {
printError (std::string ("An exception has been thrown: ") + error.what()); std::cerr << std::string ("Dialogue error: An exception has been thrown: ") + error.what();
} }
} }
} }