Add traceback support to the session too

master
Dan Williams 18 years ago
parent 01bc6cc71d
commit 4c923db7ea

@ -71,7 +71,10 @@ class Session:
shell.set_console(console)
shell.start()
from sugar import TracebackUtils
tbh = TracebackUtils.TracebackHelper()
try:
gtk.main()
except KeyboardInterrupt:
print 'Ctrl+C pressed, exiting...'
del tbh

Loading…
Cancel
Save