chiark / gitweb /
Postprocessing plugin errors: print them to stderr too
[cura.git] / Cura / util / pluginInfo.py
index 9cc05f0e73b3dff24374efe7ee2d37600c47586c..7fad6f58e839a9c891eb411e975ea52d534fe49a 100644 (file)
@@ -156,6 +156,7 @@ def runPostProcessingPlugins(engineResult, pluginConfigList):
                try:
                        execfile(pythonFile, locals)
                except:
+                       traceback.print_exc()
                        locationInfo = traceback.extract_tb(sys.exc_info()[2])[-1]
                        return "%s: '%s' @ %s:%s:%d" % (str(sys.exc_info()[0].__name__), str(sys.exc_info()[1]), os.path.basename(locationInfo[0]), locationInfo[2], locationInfo[1])
        if tempfilename is not None: