Don’t display stack trace for simple errors

This commit is contained in:
Tobie Morgan Hitchcock 2020-03-28 09:59:11 +00:00
parent 7d95f5dc5c
commit 8a8b8811c9

View file

@ -206,7 +206,6 @@ func (e *executor) conduct(ctx context.Context, stm sql.Statement) {
logKeyVars: ctx.Value(ctxKeyVars),
logKeyTime: time.Since(e.time).String(),
logKeyError: detail(e.err),
logKeyStack: string(debug.Stack()),
}).Errorln(stm)
}
}