From f1a45751546e9df1766fc84a739ca58ab8b3e6c5 Mon Sep 17 00:00:00 2001 From: Bernhard Pottler Date: Mon, 2 Dec 2024 06:41:32 +0100 Subject: [PATCH] fix: formatting the message in the constructor of Error object --- src/bin/start.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/start.js b/src/bin/start.js index 3aea114..3889d8f 100755 --- a/src/bin/start.js +++ b/src/bin/start.js @@ -15,7 +15,7 @@ debug('parsed args: %o', parsed) const { services, test } = parsed if (!Array.isArray(services)) { - throw new Error(`Could not parse arguments %o, got %o`, args, parsed) + throw new Error(`Could not parse arguments ${JSON.stringify(args)}, got ${JSON.stringify(parsed)}`) } if (!namedArguments.expect) {