Skip to content

Commit cfbeb55

Browse files
authored
Update README.md
1 parent 6b96596 commit cfbeb55

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

README.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,7 @@ Minimalist web framework for [PHP](https://www.php.net/)
1212
$app = new phpExpress();
1313

1414
$app->get('/', function ($req) {
15-
try {
16-
return "Hello World";
17-
} catch (Exception $e) {
18-
http_response_code(500);
19-
return $e;
20-
}
15+
return "Hello World";
2116
});
2217

2318
$app->listen();

0 commit comments

Comments
 (0)