Automattic / WPCOM-Legacy-Redirector

WordPress plugin for handling large volumes of legacy redirects in a scalable manner.
20 stars 16 forks source link

CLI: Show detailed error message on failed insert #91

Closed GaryJones closed 3 years ago

GaryJones commented 3 years ago

If the response from trying to add a redirect is a WP_Error, append the error message that object contains, to the CLI error output.

props @ovidiul.