From 92b4a38866d7f700f6fd0fe8524cb05e1fd941ba Mon Sep 17 00:00:00 2001 From: Philip Hurst Date: Thu, 12 Sep 2024 00:46:12 +0000 Subject: [PATCH] fix to print text rather than struct --- internal/cmd/export.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/cmd/export.go b/internal/cmd/export.go index 99f3aba..608160f 100644 --- a/internal/cmd/export.go +++ b/internal/cmd/export.go @@ -1135,7 +1135,7 @@ func gatherPostgresLogsAndConfigs(ctx context.Context, writeInfo(cmd, err.Error()) return nil } - writeDebug(cmd, fmt.Sprintf("Error executing %s\n", command)) + writeDebug(cmd, fmt.Sprintf("Error executing %s\n", command.text)) writeDebug(cmd, fmt.Sprintf("%s\n", err.Error())) writeDebug(cmd, "This is acceptable in some configurations.\n") continue