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.