Remove request data from logged context
[MAILPOET-4639]
This commit is contained in:
@ -285,7 +285,6 @@ class API {
|
|||||||
// logging to the MailPoet table
|
// logging to the MailPoet table
|
||||||
$this->loggerFactory->getLogger(LoggerFactory::TOPIC_API)->warning($e->getMessage(), [
|
$this->loggerFactory->getLogger(LoggerFactory::TOPIC_API)->warning($e->getMessage(), [
|
||||||
'requestMethod' => $this->requestMethod,
|
'requestMethod' => $this->requestMethod,
|
||||||
'requestData' => $this->requestData,
|
|
||||||
'requestEndpoint' => $this->requestEndpoint,
|
'requestEndpoint' => $this->requestEndpoint,
|
||||||
'exceptionMessage' => $e->getMessage(),
|
'exceptionMessage' => $e->getMessage(),
|
||||||
'exceptionTrace' => $e->getTrace(),
|
'exceptionTrace' => $e->getTrace(),
|
||||||
|
Reference in New Issue
Block a user