Fix a crash when attempting to send a bug report with excessively large logs. (#4243)

* Alert the user when there are excessively large log files.
This commit is contained in:
Doug
2025-06-24 09:47:20 +01:00
committed by GitHub
parent 8d48c76317
commit f0e653e462
10 changed files with 50 additions and 16 deletions

View File

@@ -31,7 +31,7 @@ class BugReportServiceTests: XCTestCase {
ed25519: nil,
curve25519: nil,
text: "i cannot send message",
includeLogs: true,
logFiles: [URL(filePath: "/logs/1.log"), URL(filePath: "/logs/2.log")],
canContact: false,
githubLabels: [],
files: [])
@@ -76,7 +76,7 @@ class BugReportServiceTests: XCTestCase {
ed25519: nil,
curve25519: nil,
text: "i cannot send message",
includeLogs: true,
logFiles: Tracing.logFiles,
canContact: false,
githubLabels: [],
files: [])