Skip to content
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

Print runtime warning in previews. #135

Merged
merged 2 commits into from
Sep 30, 2024
Merged

Conversation

mbrandonw
Copy link
Member

This came up in Slack today, but currently runtime warnings go into the void in previews because previews don't see os_log. So, if we detect we are in previews we can decide to log to the console instead:

Screenshot 2024-09-26 at 9 39 53 AM

@stephencelis stephencelis merged commit d3fd23c into main Sep 30, 2024
17 checks passed
@stephencelis stephencelis deleted the print-warning-in-previews branch September 30, 2024 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants