We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e35860 commit 5d57ce9Copy full SHA for 5d57ce9
src/OpenApi/Frankenphp/Caddyfile
@@ -11,7 +11,7 @@
11
{$CADDY_GLOBAL_OPTIONS}
12
13
frankenphp {
14
- worker /app/vendor/astral/php-serialize/src/OpenApi/Web/index.php
+ worker /app/vendor/astral/php-serialize/src/OpenApi/Frankenphp/index.php
15
}
16
17
src/OpenApi/Frankenphp/index.php
@@ -8,7 +8,7 @@
8
try {
9
header('Content-Type: application/json');
10
echo (new OpenApi())->handleByFolders()->toString();
- } catch (JsonException|ReflectionException $e) {
+ } catch (ReflectionException $e) {
http_response_code(500);
echo json_encode(['error' => $e->getMessage(), 'code' => $e->getCode()]);
0 commit comments