Skip to content

Conversation

timkelty
Copy link
Contributor

@timkelty timkelty commented Jan 14, 2022

This sends fatal PHP errors to php://stderr when the app has opted in to CRAFT_STREAM_LOG, which is most likely what you want if you've set that.

@timkelty timkelty changed the title Fatal php stream log Log fatal php errors to stream log Jan 14, 2022
@timkelty
Copy link
Contributor Author

Copy link
Member

@angrybrad angrybrad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@angrybrad
Copy link
Member

@timkelty we should add a changelog item for it probably as a bug fix

Copy link
Contributor

@jasonmccallister jasonmccallister left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯!!

@brandonkelly brandonkelly merged commit 294d95a into develop Jan 15, 2022
@brandonkelly brandonkelly deleted the feature/fatal-php-stream-log branch January 15, 2022 20:13
mattstein pushed a commit to craftcms/docs that referenced this pull request Jan 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants