Skip to content

JSON message body isn't prettified #1269

@johannwalder

Description

@johannwalder

Symptoms

Similar issue has been fixed in version 1.31.3 but now with version 1.32.2 we are back at the same problem. The JSON body isn't prettified because of the newly added condition to check the content type. At least for our systems, the default NServiceBus.ContentType header is application/json and not text/json. And therefore the body will not be prettified and longer.

Thank you!


Technical information if reporting a bug:

  • ServicePulse version: 1.32.2
  • ServiceControl version: 4.23.0
  • Browser version: any

Who's affected

Every user using Json Serialization and Service Pulse

Root cause

Regression bug, where we check the wrong value: text/json instead of application/json.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions