diff --git a/src/entrypoints/cron/crank-and-finalize.ts b/src/entrypoints/cron/crank-and-finalize.ts index 67ad10c..b544b08 100644 --- a/src/entrypoints/cron/crank-and-finalize.ts +++ b/src/entrypoints/cron/crank-and-finalize.ts @@ -124,11 +124,20 @@ const run = async () => { ". signature:", res ); - } catch (e) { + } catch (e: any) { logger.errorWithChatBotAlert( "failed to finalize proposal:", proposal.toBase58(), - e + e.message + ? { + message: e.message, + stack: e.stack, + name: e.name, + cause: e.cause, + fileName: e.fileName, + lineNumber: e.lineNumber, + } + : e ); } }