Skip to content

.Net Core and Serilog. Error from client. Strange formatting of Error #166

@Almenit

Description

@Almenit

Fatal exception from client gets strange formatting using Serielog and .Net Core.

Request payload from client:
{"lg":[{"l":6000,"m":"{\"stack\":\"Error: Server internal error\\n at XMLHttpRequest.req.onreadystatechange (webpack-internal:///./C/Content/Scripts/data/AjaxCaller.ts:58:24)\",\"message\":\"Server internal error\",\"name\":\"Error\",\"logData\":\"Server internal error\"}","n":"Reflect Client","t":1525702860451,"u":1}]}

Log in console:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions