GithubHelp home page GithubHelp logo

Comments (5)

bruno-garcia avatar bruno-garcia commented on June 27, 2024

@koderi-dp do you have a stack trace so we can point to the exact line number?
You suggest by then it is working because you've made that change and verified the fix?

You could add Sentry to your app so errors would be sent there even if your logging isn't working.

from log4net.elasticsearch.

koderi-dp avatar koderi-dp commented on June 27, 2024

@koderi-dp do you have a stack trace so we can point to the exact line number?
You suggest by then it is working because you've made that change and verified the fix?

You could add Sentry to your app so errors would be sent there even if your logging isn't working.

Hi, exception was in line where status code is checked,
if (httpResponse.StatusCode != HttpStatusCode.Created && httpResponse.StatusCode != HttpStatusCode.OK)

I had to download the source change it like in sugestion (put it in using without manualy closing the connection) and its working without issues, it looks if you acces status code prop of disposed response it will throw exception, didnt go into reflection of source code, maybe connected to net standard or net core version

Library in which your nuget was is in netstandard 2.0 and app that used it was in netcore 2.2

from log4net.elasticsearch.

bruno-garcia avatar bruno-garcia commented on June 27, 2024

Makes sense. Would you open a PR with the fix for this? Happy to accept PRs

from log4net.elasticsearch.

koderi-dp avatar koderi-dp commented on June 27, 2024

Makes sense. Would you open a PR with the fix for this? Happy to accept PRs

Sure

from log4net.elasticsearch.

koderi-dp avatar koderi-dp commented on June 27, 2024

#122 created

from log4net.elasticsearch.

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.