-
Notifications
You must be signed in to change notification settings - Fork 108
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
Client hangs on write when no permissions available #527
Comments
Yasserf, an update on this - the title should say hang :) - The case with write callback has been solved in the previous pull request. However when there is no callback, I thought the client should emit the error, but it is the record that emits the error! Updated file to be executed (same permissions as before) - comments in file explain the situation:
In summary, the record emits the erorr, and thats ok, but I think the error should also be propagated to the client in order to centralize error subscriptions. Looking at the code, an option could be:
Do you agree the error should be propagated to the client? |
Thanks! 😅
Probably yeah, since its a development error and should bubble. The record (and almost the entire client) does has access to the logger which in turn emits errors.
For example using it in record handler would be:
That can go directly in record core, since we don't care about context. Does that make sense? |
Also relieved this isn't an issue! I just spent a couple hours fixing another record merge conflict bug (#519) and my brain was a bit 😱😅 |
Excelent, I'll try to pass the record errors through the logger service
then. Thanks!
…On Sat, May 9, 2020, 21:53 Yasser Fadl ***@***.***> wrote:
Also relieved this isn't an issue! I just spent a couple hours fixing
another merge conflict and my brain was a bit 😱😅
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#527 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABF6ROBQVIB5XLBVFEORGJ3RQYCKLANCNFSM4M476ITA>
.
|
👍 |
On server set these permissions:
Then execute this on a file, expected behaviour described on code:
Originally posted by @jaime-ez in #525 (comment)
The text was updated successfully, but these errors were encountered: