Skip to content

craft/web/ErrorHandler::renderException re-add left attributes from Yii2 or add an event to add those #11799

Closed Answered by brandonkelly
Anubarak asked this question in Ideas
Discussion options

You must be logged in to vote

This actually changed back in Craft 3.6 (5775433).

I’ve just updated the code for the next Craft 3 and 4 releases, so all JSON error responses start including name and code keys, and status for HttpExceptions regardless of Dev Mode, just like Yii does out of the box. (48b7ead)

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Anubarak
Comment options

@brandonkelly
Comment options

Answer selected by brandonkelly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants