Skip to content

Commit

Permalink
CA-283754: treat potential internal errors from V6
Browse files Browse the repository at this point in the history
This depends upon xapi-project/xcp-idl#204 being merged

Signed-off-by: Marcello Seri <marcello.seri@citrix.com>
  • Loading branch information
Marcello Seri authored and Callum McIntyre committed Feb 23, 2018
1 parent ada333f commit 74e7c5f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ocaml/xapi/xapi_host.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1367,6 +1367,7 @@ let apply_edition_internal ~__context ~host ~edition ~additional =
| V6_interface.(V6_error (License_processing_error)) -> raise Api_errors.(Server_error(license_processing_error, []))
| V6_interface.(V6_error (Missing_connection_details)) -> raise Api_errors.(Server_error(missing_connection_details, []))
| V6_interface.(V6_error (License_checkout_error s)) -> raise Api_errors.(Server_error(license_checkout_error, [s]))
| V6_interface.(V6_error (Internal_error e)) -> raise Api_errors.(Server_error(internal_error, [e]))
in

let create_feature fname fenabled =
Expand Down

0 comments on commit 74e7c5f

Please sign in to comment.