From 8d0d84a1dff1d5556ec76c847eaabd7f203fdcbd Mon Sep 17 00:00:00 2001 From: Salah Benmoussati <51402489+sbenmoussati@users.noreply.github.com> Date: Wed, 9 Feb 2022 19:37:14 +0100 Subject: [PATCH] Logging cleanup - enriched renderer crash logs (#1344) --- src/app/window-handler.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/app/window-handler.ts b/src/app/window-handler.ts index 45ae3130..0ae999cb 100644 --- a/src/app/window-handler.ts +++ b/src/app/window-handler.ts @@ -573,7 +573,13 @@ export class WindowHandler { logger.info(`window-handler: main window crashed (killed)!`); return; } - logger.info(`window-handler: main window crashed!`); + logger.info( + `window-handler: main window crashed! Details: ${JSON.stringify( + details, + null, + 2, + )}`, + ); const { response } = await dialog.showMessageBox({ type: 'error', title: i18n.t('Renderer Process Crashed')(),