diff options
| author | Erik Larkö <erik@mullvad.net> | 2017-11-09 12:40:12 +0100 |
|---|---|---|
| committer | Erik Larkö <erik@mullvad.net> | 2017-11-09 12:42:56 +0100 |
| commit | 5cc618613ac36c11ce1c71a9bb097ec0da295548 (patch) | |
| tree | 5ec6cb06af35dfb4376818a41178ed2093ae10d2 | |
| parent | ae8e86bb81cc722d9667c439d3508660398da707 (diff) | |
| download | mullvadvpn-5cc618613ac36c11ce1c71a9bb097ec0da295548.tar.xz mullvadvpn-5cc618613ac36c11ce1c71a9bb097ec0da295548.zip | |
Don't include the openvpn log in the problem report for now
| -rw-r--r-- | app/main.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/main.js b/app/main.js index 73218a055d..483a79fd5c 100644 --- a/app/main.js +++ b/app/main.js @@ -390,7 +390,9 @@ const appDelegate = { return; } - const logFiles = files.filter(file => file.endsWith('.log')).map(f => path.join(appDelegate._logFileLocation, f)); + const logFiles = files.filter(file => file.endsWith('.log')) + .filter(file => !file.startsWith('openvpn')) + .map(f => path.join(appDelegate._logFileLocation, f)); const reportPath = path.join(writableDirectory, uuid.v4() + '.report'); const binPath = resolveBin('problem-report'); |
