diff --git a/src/WordPress/WPCrm.php b/src/WordPress/WPCrm.php index a19ab8a..f362020 100644 --- a/src/WordPress/WPCrm.php +++ b/src/WordPress/WPCrm.php @@ -430,6 +430,7 @@ class WPCrm } catch (ApiErrorException $e) { switch ($e->getApiError()) { case ApiError::apiAuthFailed(): + throw $e; default: self::logError($e->getMessage()); throw $e;