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

@@ -15,10 +15,11 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: crate-ci/typos@master - uses: crate-ci/typos@master
tombi: # broken: <https://github.com/SchemaStore/schemastore/issues/5108>
runs-on: ubuntu-latest # tombi:
steps: # runs-on: ubuntu-latest
- uses: actions/checkout@v4 # steps:
- uses: tombi-toml/setup-tombi@v1 # - uses: actions/checkout@v4
- run: tombi lint # - uses: tombi-toml/setup-tombi@v1
- run: tombi fmt --check # - run: tombi lint
# - run: tombi fmt --check

View File

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