Fix panic in breadcrumbs (#49930) (cherry-pick to preview) (#50053)
zed-zippy[bot]
and
Conrad Irwin
created
Cherry-pick of #49930 to preview
----
Closes #ISSUE
Before you mark this PR as ready for review, make sure that you have:
- [ ] Added a solid test coverage and/or screenshots from doing manual
testing
- [ ] Done a self-review taking into account security and performance
aspects
- [ ] Aligned any UI changes with the [UI
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
Fixes
https://zed-dev.sentry.io/issues/7286512714/?project=4509715135987712&query=is%3Aunresolved&referrer=issue-stream
Release Notes:
- Fix (rare) panic when breadcrumbs contain newlines
Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>