From b7a9b13babac9ccca3dabbd77829e47f5bc62fb8 Mon Sep 17 00:00:00 2001 From: Travis Fischer Date: Wed, 14 Jun 2023 21:28:43 -0700 Subject: [PATCH] =?UTF-8?q?=E2=9B=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/task.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/task.ts b/src/task.ts index 7e43496..864f6b0 100644 --- a/src/task.ts +++ b/src/task.ts @@ -144,7 +144,7 @@ export abstract class BaseTask< err, `Task error "${this.nameForHuman}" failed attempt ${ err.attemptNumber - }: ${JSON.stringify(input)}` + }${input ? ': ' + JSON.stringify(input) : ''}` ) if (this._retryConfig.onFailedAttempt) {