neos / flow-development-collection

The unified repository containing the Flow core packages, used for Flow development.
https://flow.neos.io/
MIT License
134 stars 187 forks source link

BUGFIX: Streamline exit(1) to web response with HTTP status code 500 #3365

Closed christophlehmann closed 1 week ago

christophlehmann commented 2 weeks ago

With this critical error messages like the following now sends the HTTP status code 500 instead 200 in order to state something is not okay on the server side:

Flow could not create the directory "/var/www/html/Data/Persistent". Please check the file permissions manually or run "sudo ./flow flow:core:setfilepermissions" to fix the problem. (Error #1347526553)

Resolved: #3364

Checklist

kitsunet commented 2 weeks ago

I would merge this in 24h if no one else has a look here.

kitsunet commented 2 weeks ago

This technically belongs into 8.3 unless there are strong reasons for it to go somewhere else, as everythign else is in security fix only mode already. I would do that on merge then.