Don’t display stack trace for simple errors
This commit is contained in:
parent
7d95f5dc5c
commit
8a8b8811c9
1 changed files with 0 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue