Skip to content

Commit d4af369

Browse files
authored
Merge pull request #217 from therefromhere/fix
Add missing raise
2 parents 174a746 + a21daf5 commit d4af369

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

surepy/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def __init__(
124124
self._auth_token = token
125125
else:
126126
# no valid credentials/token
127-
SurePetcareAuthenticationError("sorry 🐾 no valid credentials/token found ¯\\_(ツ)_/¯")
127+
raise SurePetcareAuthenticationError("sorry 🐾 no valid credentials/token found ¯\\_(ツ)_/¯")
128128

129129
# storage for received api data
130130
self.resources: dict[str, Any] = {}

0 commit comments

Comments
 (0)