Code Monkey home page Code Monkey logo

Comments (14)

niemyjski avatar niemyjski commented on September 29, 2024

@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.

6943b0c

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.

alexandrejobin avatar alexandrejobin commented on September 29, 2024

I will give it a try next week and give you news. Thank you for your help!

from exceptionless.net.

niemyjski avatar niemyjski commented on September 29, 2024

@SKOUB were you able to verify if these changes worked?

from exceptionless.net.

alexandrejobin avatar alexandrejobin commented on September 29, 2024

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.

alexandrejobin avatar alexandrejobin commented on September 29, 2024

i have tested the mvc fix and it seems to solve the problem. I haven't tested the Api fix yet.

from exceptionless.net.

alexandrejobin avatar alexandrejobin commented on September 29, 2024

Look at the screenshot, is it possible that this is the problem of the duplicate inserts that you have?

image

from exceptionless.net.

niemyjski avatar niemyjski commented on September 29, 2024

Yeah looks like it I also see the debugger display is pouting to a property that doesn't exist either

from exceptionless.net.

niemyjski avatar niemyjski commented on September 29, 2024

Those two errors would be the same but the stack trace will change a bit between the handlers

from exceptionless.net.

niemyjski avatar niemyjski commented on September 29, 2024

I think I may have an ideal on how to fix that

from exceptionless.net.

niemyjski avatar niemyjski commented on September 29, 2024

@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.

alexandrejobin avatar alexandrejobin commented on September 29, 2024

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.

niemyjski avatar niemyjski commented on September 29, 2024

This would all be on the client.

from exceptionless.net.

ejsmith avatar ejsmith commented on September 29, 2024

Sounds good to me.

from exceptionless.net.

niemyjski avatar niemyjski commented on September 29, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.