Skip to content

Commit

Permalink
Remove redundant error message
Browse files Browse the repository at this point in the history
  • Loading branch information
zyonse committed Jan 10, 2024
1 parent b816582 commit 99a6090
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/platform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,7 @@ export class DreoPlatform implements DynamicPlatformPlugin {
this.log.debug('\n\nREMOTE:\n', auth);
// check if access_token is valid
if (auth === undefined) {
this.log.error('Authentication error: Server returned invalid access_token');
this.log.error('Make sure your email/password are correct');
this.log.error('Authentication error: Failed to obtain access_token');
return;
}
this.log.info('Country:', auth.countryCode);
Expand Down

0 comments on commit 99a6090

Please sign in to comment.