Skip to content

Commit 4c7f06a

Browse files
committed
chore: err message fix
1 parent 248a489 commit 4c7f06a

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

lib/build/genericComponentOverrideContext.js

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/ts/superTokens.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,9 @@ export default class SuperTokens {
222222
const versionCheck = isVersionCompatible(package_version, plugin.compatibleAuthReactSDKVersions);
223223
if (!versionCheck) {
224224
throw new Error(
225-
`Plugin AuthReact SDK version mismatch. Version ${package_version} not found in compatible versions: ${JSON.stringify(
225+
`Incompatible SDK version for plugin ${
226+
plugin.id
227+
}. Version "${package_version}" not found in compatible versions: ${JSON.stringify(
226228
plugin.compatibleAuthReactSDKVersions
227229
)}`
228230
);

0 commit comments

Comments
 (0)