Skip to content

Commit

Permalink
Improve sync error logging
Browse files Browse the repository at this point in the history
  • Loading branch information
JELoohuis committed Sep 24, 2024
1 parent d2d1c59 commit 8d4212b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/TuyaOAuth2Device.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ export default class TuyaOAuth2Device extends OAuth2Device<TuyaOAuth2Client> {
});
})
.catch(err => {
this.error(`Error Syncing: ${err.message}`);
this.error('Error Syncing:', err);
this.setUnavailable(err).catch(this.error);
});
}
Expand Down

0 comments on commit 8d4212b

Please sign in to comment.