From 67b2d44b335474b37c5a0076ea682fcefc2ab845 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 21 Feb 2008 21:41:45 +0000 Subject: [PATCH] --- src/libprs500/gui2/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libprs500/gui2/main.py b/src/libprs500/gui2/main.py index d415a2e979..dee195c27a 100644 --- a/src/libprs500/gui2/main.py +++ b/src/libprs500/gui2/main.py @@ -861,7 +861,7 @@ class Main(MainWindow, Ui_MainWindow): _('There was a temporary error talking to the device. Please unplug and reconnect the device and or reboot.')).show() return print >>sys.stderr, 'Error in job:', description.encode('utf8') - print >>sys.stderr, exception[0], exception[1] + print >>sys.stderr, exception print >>sys.stderr, formatted_traceback.encode('utf8') if not self.device_error_dialog.isVisible(): msg = u'

%s: '%(exception.__class__.__name__,) + unicode(str(exception), 'utf8', 'replace') + u'

'