Comments (14)
@SKOUB we recently disconnected the global mvc error handler as we were getting duplicate exceptions, upon review it looked like we wouldn't need to wire up to it anymore. Can you try wiring back up to this and see if this fixes this behavior.
For Web API 2.1 can you create a new exception filter with the following content and see if this resolves your web api errors: https://github.com/exceptionless/Exceptionless.Net/blob/master/Source/Platforms/WebApi/ExceptionlessExceptionLogger.cs
If you could update our sample applications with reproduction steps. I'd be more than happy to take a close look under the debugger and get these fixed.
from exceptionless.net.
I will give it a try next week and give you news. Thank you for your help!
from exceptionless.net.
@SKOUB were you able to verify if these changes worked?
from exceptionless.net.
I haven't had time to play with it. But if you had duplicate error with the global mvc error handler, it will come back if it plug it back for sure. So we will have to search why we have duplication.
from exceptionless.net.
i have tested the mvc fix and it seems to solve the problem. I haven't tested the Api fix yet.
from exceptionless.net.
Look at the screenshot, is it possible that this is the problem of the duplicate inserts that you have?
from exceptionless.net.
Yeah looks like it I also see the debugger display is pouting to a property that doesn't exist either
from exceptionless.net.
Those two errors would be the same but the stack trace will change a bit between the handlers
from exceptionless.net.
I think I may have an ideal on how to fix that
from exceptionless.net.
@ejsmith I saw that a few different services clients store a @flag
in the exceptions Data
property. I think we could also do the same and then we just check for this in the duplicate checker plugin... What are your thoughts.
from exceptionless.net.
I saw the same thing myself. Using a flag to tell that the exception is already grabbed by your client. The logic to remove the duplicate entry will be on the client side or server side?
from exceptionless.net.
This would all be on the client.
from exceptionless.net.
Sounds good to me.
from exceptionless.net.
This should be fixed by this commit: 564d6eb
We will deploy this when we release the next client build (hopefully) in the next week. The work around is to call our extension methods as described above until we fix this. Please let me know if you have any questions.
from exceptionless.net.
Related Issues (20)
- "server-settings.json" can become invalid because previous data is not replaced HOT 9
- Add Exceptionless.Windows plugin to capture additional helpful information HOT 3
- Exception.HResult is not being mapped to error.code property HOT 2
- Flaky test - PersistedDictionaryTests.WillSaveOnce
- Flaky test - FileExceptionlessLogTests.LogFlushTimerWorks HOT 1
- Sometimes pinvoke cannot work fine HOT 4
- Front end site cannot load normally HOT 1
- Updating from v4.6.2 to v4.7.0 or newer causes conflicts with Ben.Demystifier HOT 1
- Breaking change - System.Diagnostics.ExceptionExtensions now marked as internal HOT 2
- Blazor WebAssembly Support HOT 1
- Issue with commit log in DispatcherUnhandledException event HOT 5
- Exceptionless.Windows vs Exceptionless.Wpf HOT 2
- Preserving custom object property names sent to SetProperty and AddObject HOT 2
- NLog: How can I send user identity? HOT 4
- Update NLog ExceptionlessTarget to use Layout for ApiKey and ServerUrl HOT 6
- NLogExceptionlessLog Missing Exception object HOT 4
- This SDK does not support the latest version of ExceptionLess HOT 4
- Problems with WinRT HOT 15
- How can we acces log via .net client HOT 5
- Persistent 404 Error Logs for "service-worker.js" HOT 5
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 exceptionless.net.