Skip to content

Commit

Permalink
chore(connect): improve error message
Browse files Browse the repository at this point in the history
(cherry picked from commit 07d5046)
  • Loading branch information
mroz22 authored and matejkriz committed Nov 17, 2023
1 parent 733d17f commit b0e9172
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/utils/src/versionUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const parse = (versionArr: VersionArray) => ({
const split = (version: string) => {
const arr = version.split('.').map(v => Number(v));
if (!isVersionArray(arr)) {
throw new Error('version string is in wrong format');
throw new Error(`version string is in wrong format: ${version}`);
}
return arr;
};
Expand Down

0 comments on commit b0e9172

Please sign in to comment.