X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FBaseModule.php;h=619095dfb6fbaf019c669c309cc07c6fece29ec9;hb=e1863951986ba5be173758324a00652bc5af870c;hp=b43e984772f6cfd7b6ecfa220f8dc6ea52c999a6;hpb=b30018d74873719a872ee18f16ea5f17d8db9310;p=friendica.git diff --git a/src/BaseModule.php b/src/BaseModule.php index b43e984772..619095dfb6 100644 --- a/src/BaseModule.php +++ b/src/BaseModule.php @@ -251,6 +251,7 @@ abstract class BaseModule implements ICanHandleRequests throw $e; } + $this->response->setStatus($e->getCode(), $e->getMessage()); $this->response->addContent($httpException->content($e)); } finally { $this->profiler->set(microtime(true) - $timestamp, 'content');