mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-07-31 07:30:40 +00:00
Make sure crash reports incident identifier and key don't have special [] chars and some value
The previously shows [] as part of [TODO], since PLCrashReporter didn't fill them out. Having the incident identifier showing a [ or ] char made it impossible to drag it into the Organizer to get it symbolicated in there
This commit is contained in:
parent
610a441e85
commit
c2250f3b80
@ -173,14 +173,14 @@ static NSInteger binaryImageSort(id binary1, id binary2, void *context) {
|
||||
}
|
||||
|
||||
{
|
||||
NSString *reportGUID = @"[TODO]";
|
||||
NSString *reportGUID = @"TODO";
|
||||
if ([report respondsToSelector:@selector(reportInfo)]) {
|
||||
if (report.hasReportInfo && report.reportInfo.reportGUID != nil)
|
||||
reportGUID = report.reportInfo.reportGUID;
|
||||
}
|
||||
|
||||
NSString *reporterKey = @"[TODO]";
|
||||
if (crashReporterKey)
|
||||
NSString *reporterKey = @"TODO";
|
||||
if (crashReporterKey && [crashReporterKey length] > 0)
|
||||
reporterKey = crashReporterKey;
|
||||
|
||||
NSString *hardwareModel = @"???";
|
||||
|
Loading…
x
Reference in New Issue
Block a user