Add structured logging and better error handling
This commit is contained in:
1 parent
db4e3c9611
commit
68c7dd76f2
31 files changed
+640
-109
No files matched your search
@@ -59,7 +59,7 @@ func (server *Server) routes() http.Handler {
|
||||
root.Handle("/api/", server.requireSession(api))
|
||||
root.Handle("/", staticHandler())
|
||||
|
||||
return securityHeaders(protectStateChanges(root))
|
||||
return server.observe(securityHeaders(protectStateChanges(root)))
|
||||
}
|
||||
|
||||
func staticHandler() http.Handler {
|
||||
|
||||
Reference in new issue
Block a user