- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 225
Ignore null value on CocoaScopeObserver.SetTag #3948
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ignore null value on CocoaScopeObserver.SetTag #3948
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for PR @Cheesebaron !
See my comment about testing vs samples but otherwise looks good 👍🏻
| Codecov ReportAll modified and coverable lines are covered by tests ✅ 
 Additional details and impacted files@@            Coverage Diff             @@
##             main    #3948      +/-   ##
==========================================
+ Coverage   75.73%   76.56%   +0.83%     
==========================================
  Files         357      389      +32     
  Lines       13466    14261     +795     
  Branches     2671     2869     +198     
==========================================
+ Hits        10198    10919     +721     
- Misses       2593     2639      +46     
- Partials      675      703      +28     ☔ View full report in Codecov by Sentry. | 
| Looks like the profiiling test is flakey | 
| @Cheesebaron could you please add a changelog entry? Instructions on the diff:   | 
| The linux build has a different profiling failure: cc @vaind | 
Co-authored-by: Bruno Garcia <[email protected]>
| 
 that's also on main, I need to roll back recent changes and figure out what's wrong. Don't let this PR be blocked by that. | 
Added a null check to ignore null values, to have the same behavior as on Android. While
SetTagdoesn't allownullfor thevalueargument, on Android it just throws a warning rather than throwing an ArgumentNullException deeper in the stack.Fixes #3946