Skip to content

Why are all HttpExceptions logged as 'yii\\web\\HttpException:' instead of their real class name in ErrorHandler::logException #20380

Answered by samdark
Anubarak asked this question in Q&A
Discussion options

You must be logged in to vote

The only reason I can think of is that it may be for the purpose of grouping all such exceptions together and route these by category into separate log target.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@xicond
Comment options

@Anubarak
Comment options

@rob006
Comment options

Answer selected by Anubarak
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants