@como/como-client
Advanced tools
Comparing version 0.7.5 to 0.7.51
{ | ||
"name": "@como/como-client", | ||
"version": "0.7.5", | ||
"version": "0.7.51", | ||
"description": "Client module for Como's loaylty API", | ||
@@ -5,0 +5,0 @@ "main": "src/como.js", |
@@ -112,3 +112,3 @@ const moment = require('moment-timezone'); | ||
}catch(e){ | ||
console.log(`Failed to refresh token, installationId:${installationId}, refreshToken:${this.comoData.refreshToken}, locationId:${locationId}, source:${source}`); | ||
console.error(`Failed to refresh token, installationId:${installationId}, refreshToken:${this.comoData.refreshToken}, locationId:${locationId}, source:${source}`); | ||
//refresh failed - need to revoke and signOn again | ||
@@ -127,3 +127,3 @@ initService.logError({method: 'refreshToken', installationId, locationId, source, refreshToken}); | ||
}catch(e){ | ||
console.log(`Failed to signOn, installationId:${installationId}, locationId:${locationId}, source:${source},interval:${interval}, error:${e}`); | ||
console.error(`Failed to signOn, installationId:${installationId}, locationId:${locationId}, source:${source},interval:${interval}, error:${e}`); | ||
interval += 1000; | ||
@@ -145,3 +145,3 @@ initService.logError({method: 'signOn', installationId, locationId, source, refreshToken, interval}); | ||
}catch(e){ | ||
console.log(`Failed signOn with accessToken, installationId:${installationId}, locationId:${locationId}, source:${source},accessToken:${accessToken}, error:${e}`); | ||
console.error(`Failed signOn with accessToken, installationId:${installationId}, locationId:${locationId}, source:${source},accessToken:${accessToken}, error:${e}`); | ||
} | ||
@@ -148,0 +148,0 @@ } |
Sorry, the diff of this file is too big to display
218335