Closed flokli closed 5 years ago
The logs currently only show a
[negroni] 2019-08-30T06:45:28Z | 500 | 110.032028ms | localhost:3000 | PUT /my-path
And don't provide any detailed error information on why the request failed, and we probably shouldn't propagate detailed error information to clients.
However, sometimes more detailed error information is useful.
So add a log.Println(err) call, so we log the detailed error in syslog.
The logs currently only show a
And don't provide any detailed error information on why the request failed, and we probably shouldn't propagate detailed error information to clients.
However, sometimes more detailed error information is useful.
So add a log.Println(err) call, so we log the detailed error in syslog.