File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -380,8 +380,9 @@ def _delegate_load_to_strategy(
380380 "on_scheduler_mismatch" ,
381381 "warn" ,
382382 )
383- except Exception :
384- pass
383+ except Exception as e :
384+ # Config unavailable — default to warn so mismatch doesn't hard-fail
385+ self .logger .debug ("Could not read on_scheduler_mismatch config: %s" , e )
385386
386387 if mismatch_action == "fail" :
387388 from orb .infrastructure .template .configuration_manager import (
Original file line number Diff line number Diff line change @@ -591,9 +591,10 @@ def _validate_basic_template_structure(
591591 mismatch_action = getattr (
592592 self .config_manager .app_config .scheduler , "on_scheduler_mismatch" , "warn"
593593 )
594- except Exception :
594+ except Exception as e :
595595 active_scheduler_type = None
596596 mismatch_action = "warn"
597+ self .logger .debug ("Could not read scheduler config for mismatch check: %s" , e )
597598
598599 if active_scheduler_type and template_scheduler_type != active_scheduler_type :
599600 msg = (
You can’t perform that action at this time.
0 commit comments