Logging hotfix for canceling Mural payout requests (#4730)

* Logging hotfix for canceling payout requests

* Remove Tombi CI step for now
This commit is contained in:
aecsocket
2025-11-07 03:07:10 -08:00
committed by GitHub
parent 06e1bc9dd6
commit cb47bc97c7
2 changed files with 12 additions and 11 deletions

View File

@@ -1,5 +1,5 @@
use ariadne::ids::UserId;
use eyre::Result;
use eyre::{Result, eyre};
use muralpay::{MuralError, TokenFeeRequest};
use rust_decimal::Decimal;
use serde::{Deserialize, Serialize};
@@ -126,9 +126,9 @@ impl PayoutsQueue {
.client
.cancel_payout_request(payout_request.id)
.await
.wrap_internal_err(
"failed to cancel unexecuted payout request",
)?;
.wrap_internal_err_with(|| {
eyre!("failed to cancel unexecuted payout request\noriginal error: {err:#?}")
})?;
return Err(ApiError::Internal(err));
}