made it so err.String() gets into the log too.

master
Charles Iliya Krempeaux 2015-10-15 15:02:23 -07:00
parent 239ff85307
commit 72fb8eda60
1 changed files with 1 additions and 0 deletions

View File

@ -36,6 +36,7 @@ func (flogger *internalFlogger) Errorfe(err error, format string, v ...interface
context[k] = v context[k] = v
} }
context["~error"] = err context["~error"] = err
context["~errortxt"] = err.Error()
flogger.route(msg, context) flogger.route(msg, context)
} }