Comments (4)
Thank you for raising the issue.
We are working on a solution.
For ASP.NET Core, we've just released a preview of a new integration which hooks into the WebHost
. Development is happening here.
It's also affected by the non-rendering of User-Agent
when Contexts
are available but you don't need to use reflection to work around it as it has a public setter which can be modified on BeforeSend
:
Here's an example of the BeforeSend
hook:
You can simply:
@event.Contexts = null;
It's unfortunate that all the Contexts
interface will be unavailable but I understand the User-Agent
info being at the top is the most relevant in the case of ASP.NET and ASP.NET Core.
If you have the chance to try our preview and give any feedback, I'd really appreciate it.
from raven-csharp.
That looks like a very ominous version number to put on a production server, but I'll play around with it for the project we are starting on Monday :) .
The problem isn't as much of the User-Agent
being on the top as having the string parsed and the browser info tagged, since without it, it's hard to spot cases where a specific browser is the cause of an issue.
It'd be preferable if the platform itself supported a combination of runtime information and user agent parsing (as well as getting those fancy widgets on the top for browser info), but that's a problem for another repository.
from raven-csharp.
Yeah I see what you are saying. Makes sense.
If User-Agent is available, the tagging as you suggested and also the widgets are shown. And additionally, the server information also available, perhaps further down the screen. This is something we have to work on Sentry itself and @billyvg will surely have a saying on this :)
True that a 0.0.1-preview1
is not something you'd want to put in production. But at the same time we need to run some tests in different apps to make sure it's good to release a 1.0 version of it.
Thank you for giving it a try, even if just in Staging or just on a new project with little load/impact it helps us a lot!
I'm online on Gitter if you have any questions: https://gitter.im/getsentry/dotnet
from raven-csharp.
We've released the new SDK which solves this issue:
https://github.com/getsentry/sentry-dotnet/releases
https://www.nuget.org/packages/Sentry
I'll close this issue but please feel free to reopen or open one in the new repository if you have any issues integrating. We'll be happy to help you moving over to the new SDK.
from raven-csharp.
Related Issues (20)
- Wrong device architecture in SharpRaven.Data.Context.Device HOT 1
- Don't report ILOffset as Line number HOT 7
- Unable to set contexts data HOT 9
- No stack traces for intentional error captures HOT 3
- Feature - Add UnhandledExceptionEventHandler HOT 2
- Setting the user per Sentry Capture HOT 8
- User-created exceptions HOT 3
- Kill in repo-docs
- Development RavenClient HOT 1
- If there is any possibility to Compatible to .net 2.0 ? HOT 5
- Unable to capture the execution time on Sentry HOT 9
- Build.cake error
- Unity 2017 with .NET 3.5 not send events to Sentry HOT 1
- DllNotFoundExceptions and SecurityException when using with Mono HOT 32
- FileNotFoundException for System.Configuration.ConfigurationManager when referenced from .Net Standard library HOT 3
- Question: How to check if error occured while sending error from app to sentry server HOT 1
- Deprecated? HOT 4
- Consider using Ben.Demystifier for stack traces HOT 1
- When sentry server is down , my app is slow down HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from raven-csharp.