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
|
get_operation_from_block cctxt ~chain predecessors operation_hash
|
||||||
>>=? function
|
>>=? function
|
||||||
| None ->
|
| None ->
|
||||||
cctxt#message "Couldn't find operation" >>= fun () ->
|
failwith "Couldn't find operation"
|
||||||
return_unit
|
|
||||||
| Some op ->
|
| Some op ->
|
||||||
cctxt#message "%a" pp_operation op >>= fun () ->
|
cctxt#message "%a" pp_operation op >>= fun () ->
|
||||||
return_unit
|
return_unit
|
||||||
|
Loading…
Reference in New Issue
Block a user