We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2353a55 commit 85308b4Copy full SHA for 85308b4
sqldb.go
@@ -59,9 +59,8 @@ func NormalizeErr(err error) error {
59
if err == nil {
60
return nil
61
}
62
- err = fmt.Errorf("%w\nStack Trace:\n%s", err, string(debug.Stack()))
63
if strings.Contains(err.Error(), "operation was canceled") {
64
return fmt.Errorf("%w: %w", context.Canceled, err)
65
66
- return err
+ return fmt.Errorf("%w\nStack Trace:\n%s", err, string(debug.Stack()))
67
0 commit comments