Clarify unknown MailChimp error message
This commit is contained in:
@ -126,7 +126,7 @@ class MailChimp {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function throwException($error) {
|
function throwException($error) {
|
||||||
$errorMessage = __('Unknown MailChimp error message.', 'mailpoet');
|
$errorMessage = __('Unknown MailChimp error.', 'mailpoet');
|
||||||
switch($error) {
|
switch($error) {
|
||||||
case 'API':
|
case 'API':
|
||||||
$errorMessage = __('Invalid API Key.', 'mailpoet');
|
$errorMessage = __('Invalid API Key.', 'mailpoet');
|
||||||
|
Reference in New Issue
Block a user