armeria icon indicating copy to clipboard operation
armeria copied to clipboard

Enhance DefaultUnhandledExceptionsReporter for Better Exception Reporting

Open minwoox opened this issue 10 months ago • 2 comments

Currently, the DefaultUnhandledExceptionsReporter stores only one exception and the number of unhandled exceptions in an interval. However, this implementation lacks sufficient information for effective debugging and analysis. To address this limitation, we propose enhancing the reporter to provide more detailed information about unhandled exceptions.

Proposed Changes:

  • Store Every Unique Exception and Its Count.
    • Modify the reporter to store every unique exception encountered along with its occurrence count. A unique exception refers to instances where the class type and stack traces are identical.
  • Include Corresponding Context
    • Enhance the reporting mechanism to include the corresponding context of each exception.

minwoox avatar Apr 04 '24 06:04 minwoox

Relate issue: https://github.com/line/armeria/issues/5150

I'll handle this issue with @coderclcl ~! 🙇

injae-kim avatar Apr 04 '24 06:04 injae-kim

I made a new account 😄

coodercl avatar Apr 12 '24 07:04 coodercl