Print out error instead of crashing on skeinforge errors

master
kliment 2011-07-28 12:00:57 +02:00
parent 9e11e5eef0
commit 9c531f56d3
1 changed files with 2 additions and 2 deletions

View File

@ -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):
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):