Skip to content

Commit

Permalink
Change expected error type
Browse files Browse the repository at this point in the history
  • Loading branch information
andrejvelichkovski committed Nov 28, 2023
1 parent 1545083 commit 16ec985
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/test_observer/controllers/artefacts/logic.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,5 +141,5 @@ def _parse_status_id_from_c3_link(c3_link: str) -> int | None:
c3_link = c3_link[:-1]

return int(c3_link.split("/")[-1])
except TypeError:
except ValueError:
return None

0 comments on commit 16ec985

Please sign in to comment.