Add traceback support to the session too
This commit is contained in:
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…
Reference in New Issue
Block a user