Skip to content

Commit

Permalink
Update dice/model/sqlhook.go
Browse files Browse the repository at this point in the history
Co-authored-by: JustAnotherID <[email protected]>
  • Loading branch information
PaienNate and JustAnotherID authored Oct 20, 2024
1 parent 168d6fb commit c2e4d12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dice/model/sqlhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,6 @@ func (z *zapHook) OnError(_ context.Context, err error, query string, args ...in
if z == nil || z.Helper == nil {
return nil
}
z.Errorf("SQL 执行出错日志 %v 豹错为: %v", buildQueryArgsFields(query, args...), err)
z.Debugf("SQL 执行出错日志 %v 报错为: %v", buildQueryArgsFields(query, args...), err)
return nil
}

0 comments on commit c2e4d12

Please sign in to comment.