Improve refresh error logging
This commit is contained in:
parent
30d95657cf
commit
83784bec8f
@ -70,7 +70,7 @@ async function initRingCentralSDK() {
|
|||||||
});
|
});
|
||||||
const platform = sdk.platform();
|
const platform = sdk.platform();
|
||||||
platform.on(platform.events.refreshError, (err) => {
|
platform.on(platform.events.refreshError, (err) => {
|
||||||
console.error(err);
|
console.error("Refresh error", err);
|
||||||
});
|
});
|
||||||
await sdk.login({
|
await sdk.login({
|
||||||
username: process.env.RC_LOGIN_USERNAME,
|
username: process.env.RC_LOGIN_USERNAME,
|
||||||
|
Loading…
Reference in New Issue
Block a user