Skip to content

Commit

Permalink
chore(core): cleanup redundant level property
Browse files Browse the repository at this point in the history
  • Loading branch information
vindard committed Feb 22, 2024
1 parent ee294b7 commit 428df89
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions core/api/src/app/wallets/update-single-pending-invoice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,6 @@ const processPendingInvoice = async ({
if (roundedDownReceived instanceof Error) {
recordExceptionInCurrentSpan({
error: roundedDownReceived,
level: roundedDownReceived.level,
})
return processPendingInvoiceForDecline({
walletInvoice,
Expand All @@ -185,7 +184,6 @@ const processPendingInvoice = async ({
if (receivedBtc instanceof Error) {
recordExceptionInCurrentSpan({
error: receivedBtc,
level: receivedBtc.level,
})
return processPendingInvoiceForDecline({
walletInvoice,
Expand Down
1 change: 0 additions & 1 deletion core/api/src/servers/graphql-admin-api-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ const setGqlAdminContext = async (
if (txnMetadata instanceof Error) {
recordExceptionInCurrentSpan({
error: txnMetadata,
level: txnMetadata.level,
})

return keys.map(() => undefined)
Expand Down
1 change: 0 additions & 1 deletion core/api/src/servers/middlewares/session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ const loaders = {
if (txnMetadata instanceof Error) {
recordExceptionInCurrentSpan({
error: txnMetadata,
level: txnMetadata.level,
})

return keys.map(() => undefined)
Expand Down

0 comments on commit 428df89

Please sign in to comment.