Skip to content

Commit

Permalink
Hopefully this breaks nothing!
Browse files Browse the repository at this point in the history
  • Loading branch information
rowleya committed Dec 4, 2023
1 parent fd4acbd commit 6552ec1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spinnman/spalloc/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ def renew(self) -> JsonObject:
error = str(json_error)
except JSONDecodeError:
error = r.raw
raise KeyError(f"Unable to login: {error}") from e
raise SpallocException(f"Unable to login: {error}") from e

# Step three: get the basic service data and new CSRF token
obj: JsonObject = self.get(self.__srv_base).json()
Expand Down

0 comments on commit 6552ec1

Please sign in to comment.