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.set_console(console)
|
||||||
shell.start()
|
shell.start()
|
||||||
|
|
||||||
|
from sugar import TracebackUtils
|
||||||
|
tbh = TracebackUtils.TracebackHelper()
|
||||||
try:
|
try:
|
||||||
gtk.main()
|
gtk.main()
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
print 'Ctrl+C pressed, exiting...'
|
print 'Ctrl+C pressed, exiting...'
|
||||||
|
del tbh
|
||||||
|
Loading…
Reference in New Issue
Block a user