-
-
Notifications
You must be signed in to change notification settings - Fork 213
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Captured exceptions not showing up when using Newtonsoft.Json.Glimpse #206
Comments
I'm assuming this is a binding redirect issue. The version required by Lates stable release of Glimpse is from 2014 so it's likely just incompatible. By default the |
Here's a GitHub repo that reproduces the issue: https://github.com/RudeySH/Sentry.Samples.AspNet.Mvc.Glimpse It's a copy of Sentry.Samples.AspNet.Mvc with just the Glimpse NuGet packages installed. Note that even though Sentry.EntityFramework is being used in this sample, I've confirmed that Entity Framework is not part of the issue. I've set |
Thanks for the repro @RudeySH !
That the error is coming from |
At first I wondered why an error in another dependency result in a complete loss of functionality of Sentry, all while Glimpse continues to work. That's why I submitted the issue here But now I see, Newtonsoft.Json.Glimpse breaks the JSON serializer, and there's not much Sentry can do about that. |
I just spend a good amount of hours trying to figure out why captured exceptions from my ASP.NET app (MVC5) are not showing up in Sentry. After removing NuGet packages one by one, I came to the conclusion that Sentry stops working when Newtonsoft.Json.Glimpse is installed.
To reproduce this issue, take Sentry's EF sample or the "AspNetMvc5Ef6" sample, and install
Newtonsoft.Json.Glimpse
andGlimpse.AspNet
(a third packageGlimpse
will be installed automatically). Run the sample and generate some exceptions, you'll notice these won't show up in Sentry.The text was updated successfully, but these errors were encountered: