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