mirror of
https://github.com/status-im/realm-js.git
synced 2025-01-10 14:25:58 +00:00
Fix unhandled promise rejection warnings when access token refreshing fails
This commit is contained in:
parent
9e4313c416
commit
6d5fec23e2
@ -111,7 +111,8 @@ function refreshAccessToken(user, localRealmPath, realmUrl) {
|
||||
print_error(`Unhandled session token refresh error: could not look up session at path ${localRealmPath}`);
|
||||
}
|
||||
}
|
||||
});
|
||||
})
|
||||
.catch((e) => print_error(e));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user