mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-14 02:07:54 -06:00
Refactor catch(...) handlers in Http, OctoPrint, PrintHost, and Serial
This commit is contained in:
parent
baaf66d138
commit
f937209619
4 changed files with 9 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue