Skip to content

Commit

Permalink
feat: better error logging for frank finalize
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasDeco committed Sep 15, 2024
1 parent 82b9980 commit a6ad462
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions src/entrypoints/cron/crank-and-finalize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
);
}
}
Expand Down

0 comments on commit a6ad462

Please sign in to comment.