Skip to content

Commit

Permalink
Move blanket exception catching out of Scheduler (#3015)
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: #3015

Reviewed By: saitcakmak

Differential Revision: D65431511
  • Loading branch information
Daniel Cohen authored and facebook-github-bot committed Nov 4, 2024
1 parent 84538c0 commit 63369d8
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions ax/service/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -1893,11 +1893,6 @@ def _get_next_trials(
)
self.logger.debug(f"Message from generation strategy: {err}")
return [], err
except Exception as err:
self.logger.exception(
f"An unexpected error occurred while generating trials. {err}"
)
return [], err

if self.options.trial_type == TrialType.TRIAL and any(
len(generator_run_list[0].arms) > 1 or len(generator_run_list) > 1
Expand Down

0 comments on commit 63369d8

Please sign in to comment.