Remove request data from logged context

[MAILPOET-4639]
This commit is contained in:
Jan Lysý
2023-01-05 14:51:05 +01:00
committed by Aschepikov
parent 3df00548ab
commit aab8281af0

View File

@ -285,7 +285,6 @@ class API {
// logging to the MailPoet table
$this->loggerFactory->getLogger(LoggerFactory::TOPIC_API)->warning($e->getMessage(), [
'requestMethod' => $this->requestMethod,
'requestData' => $this->requestData,
'requestEndpoint' => $this->requestEndpoint,
'exceptionMessage' => $e->getMessage(),
'exceptionTrace' => $e->getTrace(),