From e517b6694fe2b440e28b10db58e50af098e8f5c7 Mon Sep 17 00:00:00 2001 From: Aleksey Skvortsov <46933547+Rattysed@users.noreply.github.com> Date: Tue, 1 Oct 2024 15:33:56 +0300 Subject: [PATCH] [Disk Manager] Fix logging for unknown ydb errors (#2174) * add logging for unknown errors * fix log * fix log * fix log * fix log --- cloud/tasks/persistence/ydb_metrics.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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{