Client: emit exit 1 when operation receipt is not found
This commit is contained in:
parent
cb0b8f63b1
commit
7c59d32a4b
@ -541,8 +541,7 @@ let display_receipt_for_operation
|
||||
get_operation_from_block cctxt ~chain predecessors operation_hash
|
||||
>>=? function
|
||||
| None ->
|
||||
cctxt#message "Couldn't find operation" >>= fun () ->
|
||||
return_unit
|
||||
failwith "Couldn't find operation"
|
||||
| Some op ->
|
||||
cctxt#message "%a" pp_operation op >>= fun () ->
|
||||
return_unit
|
||||
|
Loading…
Reference in New Issue
Block a user