Fix warning for auth fail dont print in log
This commit is contained in:
parent
fef0c4b603
commit
71ca142a58
1 changed files with 1 additions and 0 deletions
|
|
@ -430,6 +430,7 @@ class WPCrm
|
|||
} catch (ApiErrorException $e) {
|
||||
switch ($e->getApiError()) {
|
||||
case ApiError::apiAuthFailed():
|
||||
throw $e;
|
||||
default:
|
||||
self::logError($e->getMessage());
|
||||
throw $e;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue