Skip to content

Commit

Permalink
Just continue on unauthorized
Browse files Browse the repository at this point in the history
  • Loading branch information
jl-wynen committed Jan 19, 2024
1 parent 93e4002 commit d8b2317
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/scitacean/testing/backend/_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ def _can_connect() -> tuple[bool, str]:
return False, str(err)
if response.ok:
return True, ""
if response.status_code == 401:
return True, ""
return False, str(f"{response}: {response.text}")


Expand Down

0 comments on commit d8b2317

Please sign in to comment.