There should be a fallback handler for when tlwebadm triggers any kind of exception. This handler should give the user a HTTP 500 respons and log the traceback to the log file.
See also bug 4079.
This has been fixed along the way. We now have properly formatted tracebacks in the logs.