Don't check the report URL's contents before clearing the lastCrashEventID.
If we reached it this far, the server has indicated that the submission was successful.
This commit is contained in:
@@ -140,9 +140,7 @@ class BugReportService: NSObject, BugReportServiceProtocol {
|
||||
decoder.keyDecodingStrategy = .convertFromSnakeCase
|
||||
let uploadResponse = try decoder.decode(SubmitBugReportResponse.self, from: data)
|
||||
|
||||
if !(uploadResponse.reportUrl?.isEmpty ?? false) {
|
||||
lastCrashEventID = nil
|
||||
}
|
||||
lastCrashEventID = nil
|
||||
|
||||
MXLog.info("Feedback submitted.")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user