Skip to content

Commit

Permalink
Refactor exception handling in performance metrics computation to cat…
Browse files Browse the repository at this point in the history
…ch all exceptions
  • Loading branch information
safoinme committed Nov 27, 2024
1 parent 5c29e59 commit 0b09eb6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def compute_performance_metrics_on_current_data(
current_version_number = None
try:
current_version = Model(name=latest_version.name, version=ModelStages.STAGING)
except KeyError:
except Exception:
pass

if current_version_number is None:
Expand Down

0 comments on commit 0b09eb6

Please sign in to comment.