From 21e044a33d13287d2bc381f16c994e83169ec13f Mon Sep 17 00:00:00 2001 From: Mikael Finstad Date: Wed, 20 Jul 2022 14:34:06 +0800 Subject: [PATCH] improve error report text --- src/reporting.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reporting.jsx b/src/reporting.jsx index fae37bfc..e49ba5f6 100644 --- a/src/reporting.jsx +++ b/src/reporting.jsx @@ -22,7 +22,7 @@ export function openSendReportDialog(err, state) { const platform = os.platform(); const version = electron.remote.app.getVersion(); - const text = `${err ? err.stack : 'No error'}\n\n${JSON.stringify({ + const text = `${err ? err.stack : 'No error occurred.'}\n\n${JSON.stringify({ err: err && { code: err.code, killed: err.killed,