Add details to Mural API errors (#4886)

This commit is contained in:
aecsocket
2025-12-11 12:49:59 +00:00
committed by GitHub
parent 3dd2de5f18
commit ddcc14d99f
8 changed files with 16 additions and 1 deletions

View File

@@ -177,7 +177,7 @@ impl PayoutsQueue {
)
.await
.map_err(|err| match err {
MuralError::Api(err) => ApiError::Request(err.into()),
MuralError::Api(err) => ApiError::Mural(Box::new(err)),
err => ApiError::Internal(
eyre!(err).wrap_err("failed to create payout request"),
),