bugsnag / bugsnag-cocoa

BugSnag error monitoring & exception reporter for iOS, macOS, tvOS and watchOS
https://docs.bugsnag.com/platforms/ios
MIT License
234 stars 128 forks source link

Added null checks before adding JSON elements to crash reports #1655

Closed robert-smartbear closed 3 months ago

robert-smartbear commented 3 months ago

Goal

Prevent rare issues from happening when a crash report is created while some data is not available (e.g. when Bugsnag is not fully initialized)

github-actions[bot] commented 3 months ago

Bugsnag.framework binary size did not change - 718,176 bytes

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +0.0%      +8  +0.0%      +8    __TEXT,__text
  -0.1%      -8  -0.1%      -8    [__TEXT]
  [ = ]       0  [ = ]       0    TOTAL

Generated by :no_entry_sign: Danger