Improve refresh error logging

This commit is contained in:
Matt Low 2021-03-13 14:51:32 -07:00
parent 30d95657cf
commit 83784bec8f

View File

@ -70,7 +70,7 @@ async function initRingCentralSDK() {
});
const platform = sdk.platform();
platform.on(platform.events.refreshError, (err) => {
console.error(err);
console.error("Refresh error", err);
});
await sdk.login({
username: process.env.RC_LOGIN_USERNAME,