Change logged error to warning
[MAILPOET-4639]
This commit is contained in:
@ -283,7 +283,7 @@ class API {
|
|||||||
// logging to the php log
|
// logging to the php log
|
||||||
error_log((string)$e); // phpcs:ignore Squiz.PHP.DiscouragedFunctions
|
error_log((string)$e); // phpcs:ignore Squiz.PHP.DiscouragedFunctions
|
||||||
// logging to the MailPoet table
|
// logging to the MailPoet table
|
||||||
$this->loggerFactory->getLogger(LoggerFactory::TOPIC_API)->error($e->getMessage(), [
|
$this->loggerFactory->getLogger(LoggerFactory::TOPIC_API)->warning($e->getMessage(), [
|
||||||
'requestMethod' => $this->requestMethod,
|
'requestMethod' => $this->requestMethod,
|
||||||
'requestData' => $this->requestData,
|
'requestData' => $this->requestData,
|
||||||
'requestEndpoint' => $this->requestEndpoint,
|
'requestEndpoint' => $this->requestEndpoint,
|
||||||
|
Reference in New Issue
Block a user