Commit 9c531f56 authored by kliment's avatar kliment

Print out error instead of crashing on skeinforge errors

parent 9e11e5ee
......@@ -4,7 +4,7 @@ try:
except:
print "WX is not installed. This program requires WX to run."
raise
import printcore, os, sys, glob, time, threading, traceback, StringIO, gviz
import printcore, os, sys, glob, time, threading, traceback, StringIO, gviz, traceback
try:
os.chdir(os.path.split(__file__)[0])
except:
......@@ -732,7 +732,7 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
except:
print "Skeinforge execution failed."
self.stopsf=1
raise
traceback.print_exc(file=sys.stdout)
def skein_monitor(self):
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