diff --git a/cloud/tasks/persistence/ydb_metrics.go b/cloud/tasks/persistence/ydb_metrics.go index 392888b4743..4b963b06a94 100644 --- a/cloud/tasks/persistence/ydb_metrics.go +++ b/cloud/tasks/persistence/ydb_metrics.go @@ -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{