Skip to content

Commit

Permalink
feat: Switch to AuthenticationFailure if we get a 403
Browse files Browse the repository at this point in the history
  • Loading branch information
peternewman authored Aug 28, 2024
1 parent ef38368 commit 003add4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ module.exports = {
self.checkVariables()
} else {
if (response.statusCode == 403) {
self.updateStatus(InstanceStatus.ConnectionFailure, 'Error 403, PSK may be incorrect.')
self.updateStatus(InstanceStatus.AuthenticationFailure, 'Error 403, PSK may be incorrect.')
self.log('error', 'PSK may be incorrect. Please check your PSK and try again.')
self.stopInterval()
}
Expand Down

0 comments on commit 003add4

Please sign in to comment.