Date/Time with milliseconds fails parsing
troy-lamerton opened this issue · 1 comments
troy-lamerton commented
Relevant code:
https://github.com/getsentry/apple-crash-report-parser/blob/master/src/parser.rs#L316-L323
Example apple crash report:
Incident Identifier: 8B792768-FC37-4D84-A41E-35EDDFC67E45
CrashReporter Key: 5510d3062c682b32f9d459229c94639ef823346f
Hardware Model: iPhone12,1
Process: clashofstreamers [4135]
Path: /private/var/containers/Bundle/Application/A7C0F910-1AC1-4386-9FBB-7D39CDA93B63/clashofstreamers.app/clashofstreamers
Identifier: com.gamingforgood.clashofstreamers
Version: 587860 (1.0)
Code Type: ARM-64
Parent Process: ? [1]
Date/Time: 2020-05-02 16:38:09.075 +0200
OS Version: iOS 13.4.1 (17E262)
Report Version: 104
Exception Type: EXC_BREAKPOINT (5)
Exception Codes: 0x00000000 at 0x000000000379cd20
Crashed Thread: 0
Thread 0 Crashed:
0 clashofstreamers 0x000000010679dd20 0x104c25000 + 27741216
...
The problem is this line:
Date/Time: 2020-05-02 16:38:09.075 +0200
Replacing that line with:
Date/Time: 2020-05-02 16:38:09 +0200
And everything goes fine.
bruno-garcia commented
Thanks for raising this @troy-lamerton .
It'll be addressed by #8