Add context to iteration errors
This commit is contained in:
@@ -257,7 +257,8 @@ impl QueueManagement for Server {
|
||||
Ok(max_total == 0 || total < max_total)
|
||||
},
|
||||
)
|
||||
.await?;
|
||||
.await
|
||||
.caused_by(trc::location!())?;
|
||||
|
||||
Ok(if values {
|
||||
JsonResponse::new(json!({
|
||||
@@ -512,7 +513,8 @@ impl QueueManagement for Server {
|
||||
Ok(max_total == 0 || total < max_total)
|
||||
},
|
||||
)
|
||||
.await?;
|
||||
.await
|
||||
.caused_by(trc::location!())?;
|
||||
|
||||
Ok(JsonResponse::new(json!({
|
||||
"data": {
|
||||
|
||||
Reference in New Issue
Block a user