You've already forked pages
forked from didirus/AstralRinth
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:
15
.github/workflows/check-generic.yml
vendored
15
.github/workflows/check-generic.yml
vendored
@@ -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: <https://github.com/SchemaStore/schemastore/issues/5108>
|
||||
# tombi:
|
||||
# runs-on: ubuntu-latest
|
||||
# steps:
|
||||
# - uses: actions/checkout@v4
|
||||
# - uses: tombi-toml/setup-tombi@v1
|
||||
# - run: tombi lint
|
||||
# - run: tombi fmt --check
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user