Commit 355da64e authored by Alain Takoudjou's avatar Alain Takoudjou

fixup: LogError was removed add it back as it's used by xblob

parent 439c42a3
......@@ -20,6 +20,14 @@ import (
const NginxResponseBufferHeader = "X-Accel-Buffering"
func LogError(r *http.Request, err error) {
if err != nil {
CaptureRavenError(r, err, nil)
}
printError(r, err, nil)
}
func logErrorWithFields(r *http.Request, err error, fields log.Fields) {
if err != nil {
CaptureRavenError(r, err, fields)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment