Skip to content

Comments

fix: Initialize attributes dict in CocoaSDK::log unconditionally#440

Merged
limbonaut merged 2 commits intomainfrom
fix/cocoa-log-init-dict
Nov 7, 2025
Merged

fix: Initialize attributes dict in CocoaSDK::log unconditionally#440
limbonaut merged 2 commits intomainfrom
fix/cocoa-log-init-dict

Conversation

@limbonaut
Copy link
Collaborator

@limbonaut limbonaut commented Nov 7, 2025

The signatures for SentryLogger debug:NSString attributes:NSDictionary and such expect a non-nil dictionary. This patch addresses the issue of passing nil as attributes by unconditionally allocating the dictionary.

@limbonaut limbonaut added the Bug Something isn't working label Nov 7, 2025
@limbonaut limbonaut merged commit 951df34 into main Nov 7, 2025
47 checks passed
@limbonaut limbonaut deleted the fix/cocoa-log-init-dict branch November 7, 2025 09:24
Myran pushed a commit to Myran/sentry-godot that referenced this pull request Dec 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants