-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.Net Core and Serilog. Error from client. Strange formatting of Error #166
Comments
Sorry for the late reply. I vaguely remember fixing this a while ago in a previous version of JSNLog. Which version of JSNLog do you use? If it is not the latest, please upgrade to the latest version. |
I have the same issue. I'm using .NET Core 2.1 with Serilog.AspNetCore version 2.1.1 and JSNLog version 2.29.0 on the server and the client. I put an example project together at https://github.com/ckosti/jsnlog-serilog-test |
bump. still getting this as of 2021!!! using .net core/standard. |
by the way, i've narrowed this down to only happening with
but when I do
the object is log as expected:
hope this helps in fixing this! thanks. |
Thanks for the workaround. I do hope that the issue gets fixed ASAP |
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:
The text was updated successfully, but these errors were encountered: