-
Notifications
You must be signed in to change notification settings - Fork 106
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
Don't pass a URL as a log destination to rust #2506
Conversation
On macOS (catalyst) URL.appGroupContainerDirectory returns: /Users/matthew/Library/Group%20Containers/group.io.element/ So you need to strip the %20 out into a space, otherwise logging fails with a permissions error.
Generated by 🚫 Danger Swift against 6b7a304 |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #2506 +/- ##
===========================================
+ Coverage 74.63% 74.69% +0.05%
===========================================
Files 533 529 -4
Lines 37110 36974 -136
Branches 17679 17495 -184
===========================================
- Hits 27697 27616 -81
+ Misses 9196 9140 -56
- Partials 217 218 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
LGTM, although would be nice to use path(percentEncoded:)
as suggested.
Quality Gate passedIssues Measures |
On macOS (catalyst)
URL.appGroupContainerDirectory
returns:/Users/matthew/Library/Group%20Containers/group.io.element/
So you need to decode the %20 back into a space, otherwise logging fails with a permissions error.
Pull Request Checklist