mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 23:17:32 -06:00

This should catch any uncaught exceptions and avoid the Py2Exe message about Cura.log Fixes #133
14 lines
316 B
Python
Executable file
14 lines
316 B
Python
Executable file
#!/usr/bin/env python3
|
|
|
|
# Copyright (c) 2015 Ultimaker B.V.
|
|
# Cura is released under the terms of the AGPLv3 or higher.
|
|
|
|
try:
|
|
import cura.CuraApplication
|
|
|
|
app = cura.CuraApplication.CuraApplication.getInstance()
|
|
app.run()
|
|
except Exception as e:
|
|
import cura.CrashHandler
|
|
cura.CrashHandler.show()
|
|
|