Commit 9c531f56 authored by kliment's avatar kliment

Print out error instead of crashing on skeinforge errors

parent 9e11e5ee
...@@ -4,7 +4,7 @@ try: ...@@ -4,7 +4,7 @@ try:
except: except:
print "WX is not installed. This program requires WX to run." print "WX is not installed. This program requires WX to run."
raise raise
import printcore, os, sys, glob, time, threading, traceback, StringIO, gviz import printcore, os, sys, glob, time, threading, traceback, StringIO, gviz, traceback
try: try:
os.chdir(os.path.split(__file__)[0]) os.chdir(os.path.split(__file__)[0])
except: except:
...@@ -732,7 +732,7 @@ class PronterWindow(wx.Frame,pronsole.pronsole): ...@@ -732,7 +732,7 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
except: except:
print "Skeinforge execution failed." print "Skeinforge execution failed."
self.stopsf=1 self.stopsf=1
raise traceback.print_exc(file=sys.stdout)
def skein_monitor(self): def skein_monitor(self):
while(not self.stopsf): while(not self.stopsf):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment