Skip to content

Commit

Permalink
Update processOrders.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
rouzwelt committed Nov 20, 2024
1 parent 4231781 commit 011b767
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/processOrders.ts
Original file line number Diff line number Diff line change
Expand Up @@ -333,10 +333,10 @@ export const processOrders = async (
}
if (e.spanAttributes["txNoneNodeError"]) {
span.setAttribute("severity", ErrorSeverity.HIGH);
span.setStatus({ code: SpanStatusCode.ERROR, message });
} else {
span.setStatus({ code: SpanStatusCode.OK, message });
span.setAttribute("severity", ErrorSeverity.LOW);
}
span.setStatus({ code: SpanStatusCode.ERROR, message });
span.setAttribute("unsuccessfulClear", true);
span.setAttribute("txReverted", true);
} else if (e.reason === ProcessPairHaltReason.TxMineFailed) {
Expand Down

0 comments on commit 011b767

Please sign in to comment.