From e32fc30d7cd6201283eaf85a037f6ac12082d36c Mon Sep 17 00:00:00 2001 From: PJ Date: Fri, 1 Dec 2023 16:20:26 +0100 Subject: [PATCH] worker: fix ul dl alerts --- worker/alerts.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/worker/alerts.go b/worker/alerts.go index f32ff72ff..fd3657e05 100644 --- a/worker/alerts.go +++ b/worker/alerts.go @@ -25,7 +25,7 @@ func newDownloadFailedAlert(bucket, path, prefix, marker string, offset, length, "offset": offset, "length": length, "contracts": contracts, - "err": err, + "error": err.Error(), }, Timestamp: time.Now(), } @@ -40,7 +40,7 @@ func newUploadFailedAlert(bucket, path, contractSet, mimeType string, minShards, "totalShards": totalShards, "packing": packing, "contracts": contracts, - "err": err, + "error": err.Error(), } if mimeType != "" { data["mimeType"] = mimeType