show exceptions when activating a workbench as error message, not log message

This commit is contained in:
wmayer
2017-01-06 18:40:20 +01:00
parent bf5dcbd062
commit 95b7610536

View File

@@ -1036,7 +1036,7 @@ bool Application::activateWorkbench(const char* name)
}
Base::Console().Error("%s\n", (const char*)msg.toLatin1());
Base::Console().Log("%s\n", e.getStackTrace().c_str());
Base::Console().Error("%s\n", e.getStackTrace().c_str());
if (!d->startingUp) {
wc.restoreCursor();
QMessageBox::critical(getMainWindow(), QObject::tr("Workbench failure"),