diff --git a/src/identityApiClient.ts b/src/identityApiClient.ts index 5af3cc4a..1bf253dd 100644 --- a/src/identityApiClient.ts +++ b/src/identityApiClient.ts @@ -234,7 +234,7 @@ export default function IdentityAPIClient( false ); } catch (err) { - const errorMessage = (err as Error).message || 'Unknown Error'; + const errorMessage = (err as Error).message || err.toString(); mpInstance._Store.identityCallInFlight = false; invokeCallback(