Hello again! ;)
Is there a way to catch an Exception and make WebError send the stacktrace per email (if not in debug mode) and still handle the exception to fail gracefully, by just displaying a flash('An error occured, administrator is alarmed', 'error') to the user?
In the meantime, I just do a
except:
log.warn('Error in function', exc_info=True)
which at least shows the traceback in the log, but I would rather get a mail ;)
Thanks,
Moritz
--
You received this message because you are subscribed to the Google Groups "TurboGears" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/turbogears/-/c3r7t5PehI0J.
To post to this group, send email to
turbogears@....
To unsubscribe from this group, send email to
turbogears+unsubscribe@....
For more options, visit this group at http://groups.google.com/group/turbogears?hl=en.