summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLinus Färnstrand <linus@mullvad.net>2019-10-08 12:21:44 +0200
committerLinus Färnstrand <linus@mullvad.net>2019-10-08 12:21:44 +0200
commit966b01128cd42c3e556acad039870ee3ff56f610 (patch)
tree74349c6e106a6679fab508d67cb51d216da8d409
parentb52816cb1337a99fa1031f521eb83e679ff00c33 (diff)
downloadmullvadvpn-966b01128cd42c3e556acad039870ee3ff56f610.tar.xz
mullvadvpn-966b01128cd42c3e556acad039870ee3ff56f610.zip
Don't log args when a problem report send fails
-rw-r--r--gui/src/main/index.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/gui/src/main/index.ts b/gui/src/main/index.ts
index 0672effcca..6b91926533 100644
--- a/gui/src/main/index.ts
+++ b/gui/src/main/index.ts
@@ -1006,8 +1006,8 @@ class ApplicationMain {
if (error) {
log.error(
`Failed to collect a problem report.
- Stdout: ${stdout.toString()}
- Stderr: ${stderr.toString()}`,
+ Stdout: ${stdout.toString()}
+ Stderr: ${stderr.toString()}`,
);
event.sender.send('collect-logs-reply', requestId, {
@@ -1041,9 +1041,9 @@ class ApplicationMain {
execFile(executable, args, { windowsHide: true }, (error, stdout, stderr) => {
if (error) {
log.error(
- `Failed to send a problem report: ${error.message}
- Stdout: ${stdout.toString()}
- Stderr: ${stderr.toString()}`,
+ `Failed to send a problem report.
+ Stdout: ${stdout.toString()}
+ Stderr: ${stderr.toString()}`,
);
event.sender.send('send-problem-report-reply', requestId, {