Skip to content

Json web/RPC port arg#134

Open
mitchcapper wants to merge 2 commits into
webosbrew:mainfrom
mitchcapper:json_port_arg
Open

Json web/RPC port arg#134
mitchcapper wants to merge 2 commits into
webosbrew:mainfrom
mitchcapper:json_port_arg

Conversation

@mitchcapper
Copy link
Copy Markdown

Add option to specify the RPC port if it is not 8090.

Also minor logging improvements for read errors.

Comment thread src/service.c
ERR("Error! Connection timeout.");
res = hyperion_read();
if (res < 0) {
ERR("Error! Connection timeout our error code: %d errno: %s", res, strerror(errno));
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you mean or?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No. As I modified hyperion_read to return several different error codes rather than just one I was stating that our internal error code is X and the last system error was Y.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants