diff --git a/src/stream.ts b/src/stream.ts index 403a92db..a6d306c3 100644 --- a/src/stream.ts +++ b/src/stream.ts @@ -930,7 +930,7 @@ class TraceTransactionsScanner implements Scanner { } const result = await provider.rawApi.findTransaction({ inMessageHash: messageHash, - }).finally(() => release()); + }).catch(() => ({ transaction: undefined })).finally(() => release()); if (state.stopped) { return; }