Skip to content

Commit

Permalink
debug: statechain_id in pod_deposit
Browse files Browse the repository at this point in the history
  • Loading branch information
DhananjayPurohit committed Jun 3, 2024
1 parent 4a8e0a5 commit 81b1cc1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/src/endpoints/deposit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,8 @@ pub async fn post_deposit(statechain_entity: &State<StateChainEntity>, 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));
Expand Down

0 comments on commit 81b1cc1

Please sign in to comment.