mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-02 00:17:02 +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 respondsToSelector:@selector(reportInfo)]) {
|
||||||
if (report.hasReportInfo && report.reportInfo.reportGUID != nil)
|
if (report.hasReportInfo && report.reportInfo.reportGUID != nil)
|
||||||
reportGUID = report.reportInfo.reportGUID;
|
reportGUID = report.reportInfo.reportGUID;
|
||||||
}
|
}
|
||||||
|
|
||||||
NSString *reporterKey = @"[TODO]";
|
NSString *reporterKey = @"TODO";
|
||||||
if (crashReporterKey)
|
if (crashReporterKey && [crashReporterKey length] > 0)
|
||||||
reporterKey = crashReporterKey;
|
reporterKey = crashReporterKey;
|
||||||
|
|
||||||
NSString *hardwareModel = @"???";
|
NSString *hardwareModel = @"???";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user