From cb47bc97c78336ee88dd07d1982c7938ef4a3d93 Mon Sep 17 00:00:00 2001 From: aecsocket Date: Fri, 7 Nov 2025 03:07:10 -0800 Subject: [PATCH] Logging hotfix for canceling Mural payout requests (#4730) * Logging hotfix for canceling payout requests * Remove Tombi CI step for now --- .github/workflows/check-generic.yml | 15 ++++++++------- apps/labrinth/src/queue/payouts/mural.rs | 8 ++++---- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/.github/workflows/check-generic.yml b/.github/workflows/check-generic.yml index 56df6b1c..35e99c13 100644 --- a/.github/workflows/check-generic.yml +++ b/.github/workflows/check-generic.yml @@ -15,10 +15,11 @@ jobs: - uses: actions/checkout@v4 - uses: crate-ci/typos@master - tombi: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: tombi-toml/setup-tombi@v1 - - run: tombi lint - - run: tombi fmt --check + # broken: + # tombi: + # runs-on: ubuntu-latest + # steps: + # - uses: actions/checkout@v4 + # - uses: tombi-toml/setup-tombi@v1 + # - run: tombi lint + # - run: tombi fmt --check diff --git a/apps/labrinth/src/queue/payouts/mural.rs b/apps/labrinth/src/queue/payouts/mural.rs index a91960bb..d7c08d7e 100644 --- a/apps/labrinth/src/queue/payouts/mural.rs +++ b/apps/labrinth/src/queue/payouts/mural.rs @@ -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)); }