diff --git a/server/src/endpoints/deposit.rs b/server/src/endpoints/deposit.rs index aff61f94..636a1ab6 100644 --- a/server/src/endpoints/deposit.rs +++ b/server/src/endpoints/deposit.rs @@ -148,7 +148,8 @@ pub async fn post_deposit(statechain_entity: &State, deposit_m Err(err) => { let response_body = json!({ "error": "Internal Server Error", - "message": err.to_string() + "message": err.to_string(), + "payload": statechain_id.clone(), }); return status::Custom(Status::InternalServerError, Json(response_body));