Skip to content

All items created by RollbarMiddleware have the same title #650

@srmagura

Description

@srmagura

Describe the bug
Whenever an exception is caught by RollbarMiddleware, it creates an item with the title "RollbarMiddleware processed uncaught exception."

image

This causes the dashboard to have many items with the same title, even when there are many different exceptions that have occurred in different parts of the codebase.

To Reproduce
Throw an exception in an ASP.NET Core app, with the RollbarMiddleware configured.

Expected behavior
I would like to see the original exception message in the title of the Rollbar item.

Rollbar Client - Rollbar.NET Hosting Environment (please complete the following information):

  • Rollbar.NET Host type: ASP.NET Core
  • OS and its version: Windows 11
  • .NET flavor and its version: .NET 8
  • Application framework and its version: ASP.NET Core
  • Rollbar.NET Version: 5.2.0
  • Applicable Rollbar Plug-in (if any):
  • Applicable custom third party logging library/framework integration (if any):
  • Applicable Browser (if any):

Additional context
I know I can copy the RollbarMiddleware source code into my code to fix this, but ideally that would not be necessary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions