Skip to content
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

Better errors #42

Open
Marthyn opened this issue Jun 17, 2015 · 6 comments
Open

Better errors #42

Marthyn opened this issue Jun 17, 2015 · 6 comments

Comments

@Marthyn
Copy link
Member

Marthyn commented Jun 17, 2015

Very confused when in the Wordpress project i just got this message

Could not relinquish to http://localhost:5001/wp-connector/page/

@sebastiaandegeus
Copy link
Member

It's not really an error, more a notification for the admin. I don't know. We can probably make it more clear about what went wrong.

@Marthyn
Copy link
Member Author

Marthyn commented Jun 17, 2015

Is that an error from the wp-connector webhook or just and error on the wordpress side

@sebastiaandegeus
Copy link
Member

It's an error when the webhook request fails. It uses Guzzle to send the request (kinda like the Faraday of PHP). And when it throws an exceptions we catch it and show that message.

@Marthyn
Copy link
Member Author

Marthyn commented Jun 17, 2015

I probably didn't activate that plugin then? And are the exceptions logged to a log file?

On Wed, Jun 17, 2015 at 12:01 PM -0700, "Sebastiaan" [email protected] wrote:
It's an error when the webhook request fails. It uses Guzzle to send the request (kinda like the Faraday of PHP). And when it throws an exceptions we catch it and show that message.


Reply to this email directly or view it on GitHub:
#42 (comment)

@sebastiaandegeus
Copy link
Member

Depending on your local php/apache settings the errors end up in a log or not.

@sebastiaandegeus
Copy link
Member

Guzzle is not a plugin but a dependency of relinquish that is installed by composer. The problem is probably to be found on the Rails end where the Page webhook request is not handled properly?

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

No branches or pull requests

2 participants