Cura/cura_app.py
Arjen Hiemstra 8130bae4c0 Add a crash handler to catch uncaught exceptions
This should catch any uncaught exceptions and avoid the Py2Exe message
about Cura.log

Fixes 
2015-07-13 16:54:40 +02:00

15 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()