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:
@@ -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: [])
|
||||
|
||||
Reference in New Issue
Block a user