Skip to content

Commit

Permalink
Update processOrders.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
rouzwelt committed Dec 10, 2024
1 parent bfe9d28 commit 22ad8db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/processOrders.ts
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ export const processOrders = async (
}
span.setAttribute("errorDetails", message);
}
if (KnownErrors.some((v) => !message.includes(v))) {
if (KnownErrors.every((v) => !message.includes(v))) {
span.setAttribute("severity", ErrorSeverity.HIGH);
}
if (e.spanAttributes["txNoneNodeError"]) {
Expand Down

0 comments on commit 22ad8db

Please sign in to comment.