From 5bb3665b970110d5762ec3dc0021160b65f5f29d Mon Sep 17 00:00:00 2001 From: KSS Date: Thu, 25 Sep 2025 17:21:06 +0200 Subject: [PATCH] chore: extra logging on error from viem --- tee-apps/sealed-bid-auction/src/blockchain/ViemIntentObserver.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/tee-apps/sealed-bid-auction/src/blockchain/ViemIntentObserver.ts b/tee-apps/sealed-bid-auction/src/blockchain/ViemIntentObserver.ts index 77dbb070..658208b2 100644 --- a/tee-apps/sealed-bid-auction/src/blockchain/ViemIntentObserver.ts +++ b/tee-apps/sealed-bid-auction/src/blockchain/ViemIntentObserver.ts @@ -38,6 +38,7 @@ export class ViemIntentObserver { address: this.sourceChainT1Erc7683ContractAddress, event: OPEN_INTENT_ABI_EVENT, onLogs: (logs) => this.processIntentLogs(logs), + onError: (error) => this.logger.error(`Error from publicClient.watchEvent: ${error}`), }); this.logger.info(