Skip to content

Commit d5c00db

Browse files
committed
CA-409628: remove leftover log_backtrace from find->find_opt conversion
These shouldn't be necessary anymore, since no exception is raised. Signed-off-by: Edwin Török <[email protected]>
1 parent 524791c commit d5c00db

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

ocaml/xapi-cli-server/cli_frontend.ml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4052,7 +4052,6 @@ let rio_help printer minimal cmd =
40524052
in
40534053
printer (Cli_printer.PTable [recs])
40544054
| None ->
4055-
D.log_backtrace Not_found ;
40564055
error "Responding with Unknown command %s" cmd ;
40574056
printer (Cli_printer.PList ["Unknown command '" ^ cmd ^ "'"])
40584057
in

ocaml/xcp-rrdd/bin/rrdd/rrdd_server.ml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,6 @@ let migrate_rrd (session_id : string option) (remote_address : string)
300300
Some x
301301
| None ->
302302
debug "VM %s RRDs not found on migrate! Continuing anyway..." vm_uuid ;
303-
log_backtrace Not_found ;
304303
None
305304
)
306305
|> Option.iter (fun rrdi ->

0 commit comments

Comments
 (0)