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 11e422a commit 6aae998Copy full SHA for 6aae998
ocaml/xenopsd/xc/service.ml
@@ -25,6 +25,15 @@ let defer f g = Xapi_stdext_pervasives.Pervasiveext.finally g f
25
26
exception Service_failed of (string * string)
27
28
+let () =
29
+ Printexc.register_printer (function
30
+ | Service_failed (service, reason) ->
31
+ Some
32
+ (Printf.sprintf "Service_failed(service=%s,reason=%s)" service reason)
33
+ | _ ->
34
+ None
35
+ )
36
+
37
type t = {
38
name: string
39
; domid: Xenctrl.domid
0 commit comments