elementor / elementor/wp2static-addon-netlify

Better error handling when Netlify access token incorrect

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
17
Forks
15
PR merge metrics
No merged PRs in 30d

Description

current behaviour, when running via WP_CLI:

> PHP Fatal error: Uncaught GuzzleHttp\Exception\ClientException: Client error: `POST https://api.netlify.com/api/v1/sites/mystaticsite.net/deploys` resulted in a `401 Unauthorized` response in /usr/html/wp-content/plugins/wp2static-addon-netlify/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113

expected behaviour:

presents user with clear error message of what's gone wrong/how to fix

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.