Skip to content

Commit

Permalink
better expect message
Browse files Browse the repository at this point in the history
  • Loading branch information
staszek-krotki committed Jun 29, 2023
1 parent 7ae199d commit a3c9c15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/payment/src/models/agreement.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ impl WriteObj {
let payment_platform = demand_properties
.pointer("/golem/com/payment/chosen-platform")
.as_typed(Value::as_str)
.expect("/golem/com/payment/chosen-platform not provided")
.expect("Offer property golem.com.payment.chosen-platform does not exist")
.to_owned();
let payee_addr = offer_properties
.pointer(format!("/golem/com/payment/platform/{}/address", payment_platform).as_str())
Expand Down

0 comments on commit a3c9c15

Please sign in to comment.