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:
Doug
2025-06-18 12:38:00 +01:00
committed by Doug
parent dd20823240
commit d2562b1b7e
@@ -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.")