- Latest bugfixes made to allows https without SSL verification (for our wildcard cert)

This commit is contained in:
Dave Mc Nicoll committed 2023-03-30 14:14:55 -04:00
1 parent 04b8078c54
commit f8b018144b
5 files changed
+9 -5

No files matched your search

+4 -1
View File
@@ -38,6 +38,9 @@ class NegundoMiddleware extends Handler implements MiddlewareInterface {
public function handleException(\Throwable $ex) : array
{
return $this->exceptionHandler->extractExceptionData($ex, $this->request->getServerParams(), $this->request->getParsedBody());
$server = isset($this->request) ? $this->request->getServerParams() : $_SERVER;
$body = isset($this->request) ? $this->request->getParsedBody() : $_POST;
return $this->exceptionHandler->extractExceptionData($ex, $server, $body);
}
}