summaryrefslogtreecommitdiffhomepage
path: root/ios/MullvadVPN/View controllers/ProblemReport
diff options
context:
space:
mode:
authorJon Petersson <jon.petersson@kvadrat.se>2024-05-08 17:53:11 +0200
committerBug Magnet <marco.nikic@mullvad.net>2024-05-13 10:16:46 +0200
commit168bd3507b28fbb385057f0fba7296385ce2e11b (patch)
tree3ff8578720cab5032eab1ceba372132c7e08cdc5 /ios/MullvadVPN/View controllers/ProblemReport
parentf91ba00a66eb8b253f7bc1e352786ad14fee7e02 (diff)
downloadmullvadvpn-168bd3507b28fbb385057f0fba7296385ce2e11b.tar.xz
mullvadvpn-168bd3507b28fbb385057f0fba7296385ce2e11b.zip
Fix problem report logs being duplicated
Diffstat (limited to 'ios/MullvadVPN/View controllers/ProblemReport')
-rw-r--r--ios/MullvadVPN/View controllers/ProblemReport/ProblemReportInteractor.swift4
1 files changed, 3 insertions, 1 deletions
diff --git a/ios/MullvadVPN/View controllers/ProblemReport/ProblemReportInteractor.swift b/ios/MullvadVPN/View controllers/ProblemReport/ProblemReportInteractor.swift
index f522662942..bbc740f453 100644
--- a/ios/MullvadVPN/View controllers/ProblemReport/ProblemReportInteractor.swift
+++ b/ios/MullvadVPN/View controllers/ProblemReport/ProblemReportInteractor.swift
@@ -24,7 +24,9 @@ final class ProblemReportInteractor {
redactContainerPathsForSecurityGroupIdentifiers: [securityGroupIdentifier]
)
- let logFileURLs = ApplicationTarget.allCases.flatMap { ApplicationConfiguration.logFileURLs(for: $0) }
+ let logFileURLs = ApplicationTarget.allCases.flatMap {
+ ApplicationConfiguration.logFileURLs(for: $0, in: ApplicationConfiguration.containerURL)
+ }
report.addLogFiles(fileURLs: logFileURLs)
return report