diff options
author | Valery Piashchynski <[email protected]> | 2021-04-04 19:31:06 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-04-04 19:31:06 +0300 |
commit | c6b123af6464c3c6fd79bf1fc28da71c300eb7b3 (patch) | |
tree | ed9c1f087e68a2c70ac002466c233469563fc5e9 /tests/raw-error.php | |
parent | 10a153e9df62bcbdf77c5b5a63daf5ea7b792495 (diff) |
- Update CHANGELOG
- Check log event by logger (mocked)
- Modify Stderr event to be as INFO
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'tests/raw-error.php')
-rw-r--r-- | tests/raw-error.php | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/tests/raw-error.php b/tests/raw-error.php index e8ca328b..3caf46c5 100644 --- a/tests/raw-error.php +++ b/tests/raw-error.php @@ -18,13 +18,4 @@ $psr7 = new RoadRunner\Http\PSR7Worker( error_log('{"field": "value"}'); -while ($req = $psr7->waitRequest()) { - try { - $resp = new \Nyholm\Psr7\Response(); - $resp->getBody()->write("hello world"); - - $psr7->respond($resp); - } catch (\Throwable $e) { - $psr7->getWorker()->error((string)$e); - } -}
\ No newline at end of file +while ($req = $psr7->waitRequest()) {} |