Web: handle system exit exceptions

This commit is contained in:
wmayer
2021-10-14 15:46:37 +02:00
parent cea1216ea2
commit 539bd3ceb1
2 changed files with 22 additions and 13 deletions

View File

@@ -216,6 +216,9 @@ std::string AppServer::runPython(const QByteArray& msg)
str += "\n\n";
str += e.getStackTrace();
}
catch (Base::SystemExitException &) {
throw;
}
catch (Base::Exception &e) {
str = e.what();
}