summaryrefslogtreecommitdiff
path: root/portato/gui/gtk/exception_handling.py
diff options
context:
space:
mode:
Diffstat (limited to 'portato/gui/gtk/exception_handling.py')
-rw-r--r--portato/gui/gtk/exception_handling.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/portato/gui/gtk/exception_handling.py b/portato/gui/gtk/exception_handling.py
index 673dd7e..c44f554 100644
--- a/portato/gui/gtk/exception_handling.py
+++ b/portato/gui/gtk/exception_handling.py
@@ -70,7 +70,7 @@ class UncaughtExceptionDialog(gtk.MessageDialog):
textbuffer = self.textview.get_buffer()
self.text = get_trace(type, value, tb)
if thread:
- self.text = _("Exception in thread \"%(thread)s\":\n%(trace)s") % {"thread": thread, "trace": text}
+ self.text = _("Exception in thread \"%(thread)s\":\n%(trace)s") % {"thread": thread, "trace": self.text}
textbuffer.set_text(self.text)
self.textview.set_size_request(gtk.gdk.screen_width()/2, gtk.gdk.screen_height()/3)