Skip to content

Commit

Permalink
improve: Log entire error
Browse files Browse the repository at this point in the history
Ideally we should log the full error trace somewhere. Can we instead use a console.error() here?
  • Loading branch information
nicholaspai committed Jan 27, 2025
1 parent 79bc0d0 commit b6cc02f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ if (require.main === module) {
args,
notificationPath: "across-error",
});
logger.debug({ at: cmd ?? "unknown process", message: "Logging full error", error });
})
.finally(async () => {
await waitForLogger(logger);
Expand Down

0 comments on commit b6cc02f

Please sign in to comment.