-
Notifications
You must be signed in to change notification settings - Fork 13
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
handle IPC call errors and bubble them up #831
Conversation
@@ -641,7 +653,7 @@ GglError runner(const RecipeRunnerArgs *args) { | |||
} | |||
default: | |||
GGL_LOGE("Failed to get noProxyAddresses from config."); | |||
return ret; | |||
break; |
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.
Similar comment as above. One additional question - what happens if the proxy URL is set but the noProxyAddress value is not set?
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.
left few comments, adding this to prevent auto-merge :P
bins/ggipcd/src/services/config/subscribe_to_configuration_update.c
Outdated
Show resolved
Hide resolved
bins/ggipcd/src/services/config/subscribe_to_configuration_update.c
Outdated
Show resolved
Hide resolved
bins/ggipcd/src/services/config/subscribe_to_configuration_update.c
Outdated
Show resolved
Hide resolved
bins/ggipcd/src/services/config/subscribe_to_configuration_update.c
Outdated
Show resolved
Hide resolved
This commit however is not complete on it's own. Even though the server is sending the error codes, the client does not yet understand them. There will be a fast follow up PR for updating the client. There are a couple of TODOs added to the code which will be removed once the client starts to process the incoming error codes sent by the IPC server.
Issue #, if available:
Description of changes:
This PR modifies the IPC client to handle the call errors more gracefully and bubble up the errors to the caller.
Supersedes #830.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.