Skip to content

Commit

Permalink
Merge pull request #63 from ImageMarkup/avoid-masking-real-errors
Browse files Browse the repository at this point in the history
  • Loading branch information
danlamanna authored Sep 1, 2023
2 parents 70344ab + a06ea59 commit 9e5ac9a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions isic_cli/cli/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@ def cli(ctx, verbose: bool, guest: bool, sandbox: bool, dev: bool, no_version_ch
if e.response.status_code == 404:
# perhaps a stale token
oauth.logout()
else:
raise

ctx.obj = IsicContext(
oauth=oauth,
Expand Down

0 comments on commit 9e5ac9a

Please sign in to comment.