We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec70db5 commit 2f1c8ddCopy full SHA for 2f1c8dd
ocaml/xapi/xapi_observer_components.ml
@@ -90,9 +90,17 @@ let is_component_enabled ~component =
90
|> List.mem component
91
)
92
observers
93
- with _ -> false
+ with e ->
94
+ D.log_backtrace () ;
95
+ D.warn "is_component_enabled(%s) inner got exception: %s"
96
+ (to_string component) (Printexc.to_string e) ;
97
+ false
98
99
100
101
+ D.warn "is_component_enabled(%s) got exception: %s" (to_string component)
102
+ (Printexc.to_string e) ;
103
104
105
let is_smapi_enabled () = is_component_enabled ~component:SMApi
106
0 commit comments