mirror of
https://github.com/rancher/norman.git
synced 2025-08-23 09:28:32 +00:00
The defaul http server logs panics to the server's log handler. That goes to debug level and thus panics are not seen when running rancher at a normal log level. This fixes the problem by catching the panic at the top level norman http handler and logging them as errors there. |
||
---|---|---|
.. | ||
access | ||
builtin | ||
handler | ||
writer | ||
server.go | ||
types.go | ||
validate.go |