From b6cc02fd8fed5f4ce6e22507e9f2127a9600cec6 Mon Sep 17 00:00:00 2001 From: nicholaspai Date: Mon, 27 Jan 2025 12:49:46 -0500 Subject: [PATCH] improve: Log entire error Ideally we should log the full error trace somewhere. Can we instead use a console.error() here? --- index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/index.ts b/index.ts index 01dd29a631..782f2eb6da 100644 --- a/index.ts +++ b/index.ts @@ -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);