You've already forked AstralRinth
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: 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
|
||||||
|
|||||||
@@ -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));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user