diff --git a/core/api/src/app/wallets/update-single-pending-invoice.ts b/core/api/src/app/wallets/update-single-pending-invoice.ts index a10be84997..4e2992639f 100644 --- a/core/api/src/app/wallets/update-single-pending-invoice.ts +++ b/core/api/src/app/wallets/update-single-pending-invoice.ts @@ -171,7 +171,6 @@ const processPendingInvoice = async ({ if (roundedDownReceived instanceof Error) { recordExceptionInCurrentSpan({ error: roundedDownReceived, - level: roundedDownReceived.level, }) return processPendingInvoiceForDecline({ walletInvoice, @@ -185,7 +184,6 @@ const processPendingInvoice = async ({ if (receivedBtc instanceof Error) { recordExceptionInCurrentSpan({ error: receivedBtc, - level: receivedBtc.level, }) return processPendingInvoiceForDecline({ walletInvoice, diff --git a/core/api/src/servers/graphql-admin-api-server.ts b/core/api/src/servers/graphql-admin-api-server.ts index 3054449213..007c349217 100644 --- a/core/api/src/servers/graphql-admin-api-server.ts +++ b/core/api/src/servers/graphql-admin-api-server.ts @@ -41,7 +41,6 @@ const setGqlAdminContext = async ( if (txnMetadata instanceof Error) { recordExceptionInCurrentSpan({ error: txnMetadata, - level: txnMetadata.level, }) return keys.map(() => undefined) diff --git a/core/api/src/servers/middlewares/session.ts b/core/api/src/servers/middlewares/session.ts index cd51bf6875..8cda27eb1f 100644 --- a/core/api/src/servers/middlewares/session.ts +++ b/core/api/src/servers/middlewares/session.ts @@ -98,7 +98,6 @@ const loaders = { if (txnMetadata instanceof Error) { recordExceptionInCurrentSpan({ error: txnMetadata, - level: txnMetadata.level, }) return keys.map(() => undefined)