Fixed topic gc bug

This commit is contained in:
noccy committed 2024-03-11 01:40:05 +01:00
1 parent c31c55fafd
commit 2cbc41d29e
5 files changed
+8 -4

No files matched your search

@@ -55,6 +55,7 @@ class ResponseMiddleware
if ($t instanceof SecurityException) {
return Response::plaintext("Access Denied")->withStatus(Response::STATUS_UNAUTHORIZED);
}
$this->logger->warning(get_class($t).": ".$t->getMessage(), [ 'file'=>$t->getFile(), 'line'=>$t->getLine() ]);
return Response::plaintext("500: Internal Server Error (".$t->getMessage().")\n")->withStatus(500);
}
)->then(