Skip to content

Add exception.cause_class to log entries

Thong Kuah requested to merge add_exception_cause_to_logs into master

What does this MR do and why?

This allows us to more easily find/group errors such as NoMethodError that are re-raised as ActionView::Template::Error

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

In Sentry, we do show exception causes:

Screenshot_2023-03-13_at_9.57.41_AM

So we should do the same in Kibana. Currently in Kibana we only have exception.class:

Screenshot_2023-03-13_at_10.33.03_AM

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Thong Kuah

Merge request reports