Skip to content

Commit

Permalink
🐞 fix: fixed typo (#1916)
Browse files Browse the repository at this point in the history
Co-authored-by: kevinzhang <kevinzhang@moonton.com>
  • Loading branch information
kevin0527 and Kevinyyz authored Jun 4, 2022
1 parent b6b96d9 commit edfaa6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/stores/mon/collection.go
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ func (c *decoratedCollection) logDuration(ctx context.Context, method string, st

content, e := json.Marshal(docs)
if e != nil {
logger.Error(err)
logger.Error(e)
} else if err != nil {
if duration > slowThreshold.Load() {
logger.Slowf("[MONGO] mongo(%s) - slowcall - %s - fail(%s) - %s",
Expand Down

0 comments on commit edfaa6d

Please sign in to comment.