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

fix(breadcrumbs): ignore breadcrumbs with null message #545

Merged
merged 5 commits into from
Apr 6, 2022

Conversation

rich-bugsnag
Copy link
Contributor

@rich-bugsnag rich-bugsnag commented Apr 5, 2022

Goal

It was possible to leave breadcrumbs with a null message.

This caused errors on Android.

Design

Breadcrumbs with a null message are not shown on the dashboard anyway, so now any breadcrumbs with a null message will be ignored and not created.

Changeset

Added logic to ignore null message breadcrumbs in the 3 Breadcrumbs.cs implementations.

Testing

Added a CI test.

@rich-bugsnag rich-bugsnag self-assigned this Apr 5, 2022
# Conflicts:
#	src/BugsnagUnity/Native/Cocoa/Breadcrumbs.cs
@rich-bugsnag rich-bugsnag marked this pull request as ready for review April 6, 2022 09:07
src/BugsnagUnity/Native/Cocoa/Breadcrumbs.cs Outdated Show resolved Hide resolved
Copy link
Contributor

@nickdowell nickdowell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@rich-bugsnag rich-bugsnag merged commit 2bebd4e into next Apr 6, 2022
@rich-bugsnag rich-bugsnag deleted the 8300-nullMessageBreadcrumbs branch April 6, 2022 14:00
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