From 8a8b8811c97f40421378b2b276949c57f9fbb56e Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Sat, 28 Mar 2020 09:59:11 +0000 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20display=20stack=20trace=20for?= =?UTF-8?q?=20simple=20errors?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- db/executor.go | 1 - 1 file changed, 1 deletion(-) diff --git a/db/executor.go b/db/executor.go index ab81c1c9..f4cb6beb 100644 --- a/db/executor.go +++ b/db/executor.go @@ -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) } }