You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched for a similar issue in our bug tracker and didn't find any solutions.
What happened?
I have php script in server.command and http.pool.debug:true.
If my php code fails before new \Spiral\RoadRunner\Http\PSR7Worker() rr return 200 OK and
body with exception message. I cant't set status 500 in $psr7->respond().
Is there way to change response status from 200 to 500?
php code fails before new \Spiral\RoadRunner\Http\PSR7Worker()
Relevant log output
http://172.22.0.2:81/send-private-message
HTTP/1.1 200 OK
Date: Wed, 24 Jan 2024 15:03:51 GMT
Content-Length: 287
Content-Type: text/plain; charset=utf-8
goridge_frame_receive: validation failed on the message sent to STDOUT, see: https://roadrunner.dev/docs/known-issues-stdout-crc/current/en, invalid message:
Fatal error: Uncaught RuntimeException: asdasd in /app/bin/mamba:4
Stack trace:
#0 {main}
thrown in /app/bin/mamba on line 4
The text was updated successfully, but these errors were encountered:
No duplicates 🥲.
What happened?
I have php script in
server.command
andhttp.pool.debug:true
.If my php code fails before
new \Spiral\RoadRunner\Http\PSR7Worker()
rr return 200 OK andbody with exception message. I cant't set status 500 in
$psr7->respond()
.Is there way to change response status from 200 to 500?
Version (rr --version)
rr version 2023.3.5 (build time: 2023-11-16T14:06:28+0000, go1.21.4), OS: linux, arch: amd64
How to reproduce the issue?
php code fails before
new \Spiral\RoadRunner\Http\PSR7Worker()
Relevant log output
The text was updated successfully, but these errors were encountered: