Skip to content

Commit

Permalink
[Disk Manager] Fix logging for unknown ydb errors (#2174)
Browse files Browse the repository at this point in the history
* add logging for unknown errors

* fix log

* fix log

* fix log

* fix log
  • Loading branch information
Rattysed authored Oct 1, 2024
1 parent 766acb0 commit e517b66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloud/tasks/persistence/ydb_metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func (m *ydbMetrics) StatCall(
errorType = "ratelimiterAcquire"
default:
errorType = "unknown"
logging.Warn(ctx, "YDB call with name %v got unknown error %v", name, err)
logging.Warn(ctx, "YDB call with name %v got unknown error %v", name, *err)
}

errorRegistry := subRegistry.WithTags(map[string]string{
Expand Down

0 comments on commit e517b66

Please sign in to comment.