1
0
mirror of https://github.com/rancher/norman.git synced 2025-08-23 09:28:32 +00:00
norman/api
Craig Jellick b694ecb0eb Log panics as error
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.
2019-02-11 11:59:18 -07:00
..
access Add Create to access 2018-04-19 21:57:01 -07:00
builtin Make queryopts be a pointer 2017-12-28 16:49:51 +00:00
handler Add InputFormatter that runs before the builder/validation 2018-07-19 10:23:17 -07:00
writer Dynamically response the JS and CSS of API UI 2018-10-31 14:48:25 +08:00
server.go Log panics as error 2019-02-11 11:59:18 -07:00
types.go More initial dev 2017-11-10 21:46:30 -07:00
validate.go Attempt to fix CSRF, still untested though 2017-12-29 22:23:14 +00:00