-
Notifications
You must be signed in to change notification settings - Fork 410
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
chore: improve error message for fsevents failure #6206
chore: improve error message for fsevents failure #6206
Conversation
baaa89d
to
d6a2798
Compare
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.
Looks OK to me, but do we have a way to test it?
I'm unable to write a test unfortunately. If I were able to write a test, I'd be able to reproduce a bug. Instead, I'm relying on @samoht to help out with triaging the issue with the help of this PR. |
This actually makes the error message worst :-)
instead of:
|
This one is sprintf segfaulting because it's attempting to write on the format string. |
With #6215 I just get:
|
d6a2798
to
fde494a
Compare
@samoht could you try again? Should be good |
5c1af64
to
2cbda58
Compare
Include the problematic event flags in the error message Signed-off-by: Rudi Grinberg <[email protected]> ps-id: 7ab84709-6af3-433e-b337-843610bd4119
2cbda58
to
bfb9407
Compare
Seems better:
|
Include the problematic event flags in the error message
Signed-off-by: Rudi Grinberg [email protected]
ps-id: 7ab84709-6af3-433e-b337-843610bd4119