Finished moving error trapping to cmdhandler.py. No need to do any exception handling on a per-command basis anymore.
This commit is contained in:
parent
98e9175582
commit
81b1797144
1 changed files with 3 additions and 1 deletions
|
|
@ -71,7 +71,9 @@ def handle(cdat):
|
|||
try:
|
||||
cmd(cdat)
|
||||
except:
|
||||
session.msg("Untrapped error: %s" % (format_exc(),))
|
||||
session.msg("Untrapped error, please file a bug report:\n%s" % (format_exc(),))
|
||||
functions_general.print_errmsg("Untrapped error, evoker %s: %s" %
|
||||
(session, format_exc()))
|
||||
return
|
||||
|
||||
if session.logged_in:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue