Skip to content

Commit d062a47

Browse files
committed
HTTPError no longer has a 'response'
1 parent 12ae51a commit d062a47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code_submitter/auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ async def load_user(self, username: str, password: str) -> NemesisUserInfo:
115115
try:
116116
response.raise_for_status()
117117
except httpx.HTTPError as e:
118-
if e.response.status_code != 403:
118+
if response.status_code != 403:
119119
logger.exception(
120120
"Failed to contact nemesis while trying to authenticate %r",
121121
username,

0 commit comments

Comments
 (0)