Removes capitalization of error causes (#5468)

This commit is contained in:
ebozduman 2018-01-30 21:42:15 -08:00 committed by kannappanr
parent 3ea28e9771
commit e608e05cda
1 changed files with 2 additions and 1 deletions

View File

@ -172,7 +172,8 @@ func logIf(level Level, err error, msg string,
if err == nil || isErrIgnored(err) {
return
}
cause := strings.Title(err.Error())
// Get the cause for the Error
cause := err.Error()
// Get full stack trace
trace := getTrace(3)
// Get time