Opened 10 years ago

Closed 10 years ago

#79 closed defect (fixed)

Report errors to log instead of shell

Reported by: Tom Goddard Owned by: Tom Goddard
Priority: major Milestone:
Component: Infrastructure Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: chimera

Description

Redirect tracebacks to the log panel.

Tracebacks generated by menu entries or mouse actions get printed to the shell where Chimera was started. If it was started by clicking an icon these errors won't be seen.

Change History (1)

comment:1 by Tom Goddard, 10 years ago

Resolution: fixed
Status: newclosed

Done.

Just writes to the logger using the info() method instead of the error() method. Does not raise an error dialog because the traceback calls the write() method once for each line. There is no simple way to wait for all of the traceback lines to be written before logging an error. Calling error() on each line would bring up a succession of error dialogs.

Note: See TracTickets for help on using tickets.