Skip to content

Commit

Permalink
fix: formatting the message in the constructor of Error object
Browse files Browse the repository at this point in the history
  • Loading branch information
BePo65 committed Dec 2, 2024
1 parent fe1c25d commit f1a4575
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/start.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit f1a4575

Please sign in to comment.