Git Product home page Git Product logo

Comments (7)

nateberkopec avatar nateberkopec commented on June 14, 2024

Needs a full stacktrace posted.

from semantic_logger.

gingerlime avatar gingerlime commented on June 14, 2024

Hey @nateberkopec @reidmorrison. Sorry, I completely forgot about this (holiday effect I guess).

I think I know where the problem is, but didn't get a chance to test it yet

If you look here, the context is being munged to fit with the raven structure (that was part of the fix I applied on #70).

What I missed however, is doing the same thing when an exception is raised just a few lines above it.

Hope to find time to test and apply this fix over the weekend hopefully.

from semantic_logger.

gingerlime avatar gingerlime commented on June 14, 2024

@reidmorrison created a PR that should fix this. Since the tests are rather synthetic, I'm wondering how to simulate this on a "real" environment though... Any pointers?

from semantic_logger.

reidmorrison avatar reidmorrison commented on June 14, 2024

@gingerlime check out this test for an example on how to use both mocks during tests and then to actually call the target system on demand for "real" development testing: https://github.com/rocketjob/semantic_logger/blob/master/test/metric/signalfx_test.rb#L13

It does it by means of an environment variable so that testing in Travis is mocked.

from semantic_logger.

gingerlime avatar gingerlime commented on June 14, 2024

Thanks @reidmorrison. That's a good suggestion.

I'm still curious to understand when this branch of the appender is activated though? (When does log.exception get set, or how to simulate it from the console)

from semantic_logger.

reidmorrison avatar reidmorrison commented on June 14, 2024

How about we do a screen sharing session and walk through the code?
I am available 10am through 5 pm Eastern (NY) time, send me a private message through Github with a time and I will send you link to chat.

from semantic_logger.

gingerlime avatar gingerlime commented on June 14, 2024

Thanks @reidmorrison, that's exceptionally kind of you. Totally awesome... I really don't want to take up your time though (and it's also pretty busy here, to be perfectly honest).

I hope to find some time to play around with it a bit more over the weekend, and hope to figure things out. Hope to keep the option for a screenshare open for future though? I'm sure something or other will come up, and I'd love the opportunity, but best to keep it for something more important.

Cheers,
Yoav

from semantic_logger.

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.