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}`);
|
print_error(`Unhandled session token refresh error: could not look up session at path ${localRealmPath}`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
})
|
||||||
|
.catch((e) => print_error(e));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue