diff --git a/output/compact.go b/output/compact.go index 0a38ccc8..779a8acb 100644 --- a/output/compact.go +++ b/output/compact.go @@ -56,7 +56,7 @@ func uploadAndSubmitCompactSnapshot(ctx context.Context, s pganalyze_collector.C s3Location, err := uploadSnapshot(ctx, server.Config.HTTPClientWithRetry, grant, logger, compressedData, snapshotUUID.String()) if err != nil { - logger.PrintError("Error uploading to S3: %s", err) + logger.PrintError("Error uploading snapshot: %s", err) return err } diff --git a/output/full.go b/output/full.go index e509a253..e715cc29 100644 --- a/output/full.go +++ b/output/full.go @@ -80,7 +80,7 @@ func submitFull(ctx context.Context, s snapshot.FullSnapshot, server *state.Serv s3Location, err := uploadSnapshot(ctx, server.Config.HTTPClientWithRetry, server.Grant, logger, compressedData, snapshotUUID.String()) if err != nil { - logger.PrintError("Error uploading to S3: %s", err) + logger.PrintError("Error uploading snapshot: %s", err) return err }