Refactor catch(...) handlers in Http, OctoPrint, PrintHost, and Serial

This commit is contained in:
Vojtech Kral committed 2019-08-19 17:04:14 +02:00
1 parent baaf66d138
commit f937209619
4 files changed
+9 -11

No files matched your search

-2
View File
@@ -170,8 +170,6 @@ void PrintHostJobQueue::priv::bg_thread_main()
}
} catch (const std::exception &e) {
emit_error(e.what());
} catch (...) {
emit_error("Unknown exception");
}
// Cleanup leftover files, if any