diff --git a/packages/utils/src/versionUtils.ts b/packages/utils/src/versionUtils.ts index 83a03f38d77..4a7b45281ba 100644 --- a/packages/utils/src/versionUtils.ts +++ b/packages/utils/src/versionUtils.ts @@ -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; };