Skip to content

[3.0] Add logException to ErrorHandler#9183

Open
jdarwood007 wants to merge 1 commit intoSimpleMachines:release-3.0from
jdarwood007:3.0/logExceptions
Open

[3.0] Add logException to ErrorHandler#9183
jdarwood007 wants to merge 1 commit intoSimpleMachines:release-3.0from
jdarwood007:3.0/logExceptions

Conversation

@jdarwood007
Copy link
Copy Markdown
Member

We can now call errorHandler::LogException(\Exception) and have SMF handle the work of putting the pieces together to log the data.

Additionally a new known_exception_types map is added to allow us to natively map some known or excepted types to the known_error_types. This wasn't passed into our hooks as we want to carefully add to this list since a generalization of a exception class to a error type may lead to false categorization.

We can now call errorHandler::LogException(\Exception) and have SMF handle the work of putting the pieces together to log the data.

Additionally a new known_exception_types map is added to allow us to natively map some known or excepted types to the known_error_types.  This wasn't passed into our hooks as we want to carefully add to this list since a generalization of a exception class to a error type may lead to false categorization.
@jdarwood007 jdarwood007 added this to the 3.0 Alpha 5 milestone Apr 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant