Add RingCentral token refresh error logging.
This commit is contained in:
		@ -68,6 +68,10 @@ async function initRingCentralSDK() {
 | 
			
		||||
    clientId: process.env.RC_APP_KEY,
 | 
			
		||||
    clientSecret: process.env.RC_APP_SECRET,
 | 
			
		||||
  });
 | 
			
		||||
  const platform = sdk.platform();
 | 
			
		||||
  platform.on(platform.events.refreshError, (err) => {
 | 
			
		||||
    console.error(err);
 | 
			
		||||
  });
 | 
			
		||||
  await sdk.login({
 | 
			
		||||
    username: process.env.RC_LOGIN_USERNAME,
 | 
			
		||||
    extension: process.env.RC_LOGIN_EXT,
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user