Fix warning for auth fail dont print in log

This commit is contained in:
Jérémy Munsch 2021-08-24 11:18:24 +02:00
parent fef0c4b603
commit 71ca142a58

View file

@ -430,6 +430,7 @@ class WPCrm
} catch (ApiErrorException $e) {
switch ($e->getApiError()) {
case ApiError::apiAuthFailed():
throw $e;
default:
self::logError($e->getMessage());
throw $e;