Skip to content

Commit

Permalink
Fix logging
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-pbulawa committed Sep 26, 2023
1 parent f917322 commit 8acb40a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/connection/connection_config.js
Original file line number Diff line number Diff line change
Expand Up @@ -485,8 +485,7 @@ function ConnectionConfig(options, validateCredentials, qaMode, clientInfo)
if (!DEFAULT_PARAMS.includes(key))
{
const result = levenshtein.closest(key, DEFAULT_PARAMS);
console.error(`"${key}" is an unknown connection parameter`);
console.error(`Did you mean "${result}"`);
console.error(`"${key}" is an unknown connection parameter. Did you mean ${result}?`);
}
}
}
Expand Down

0 comments on commit 8acb40a

Please sign in to comment.