Git Product home page Git Product logo

Comments (4)

joernhees avatar joernhees commented on August 22, 2024

actually it seems this only works on one host :-/

I already tried modifying scoop (wherever raises future.exceptionValue), but i can't find where that value is ever set. In that place it should probably save the current traceback in the exception, maybe as _tb attribute, so that when the exception is sent back to main, it can re-raise it with that traceback.

from scoop.

joernhees avatar joernhees commented on August 22, 2024

also note that you should never use logging.exception(e), but instead just call it with a message. The exception will be auto-appended, but handing it to logging.exception instead of a message can result in an encoding error raise in the exception handling itself, which hides the actual exception: http://stackoverflow.com/a/31141546/1423333

from scoop.

nickvandewiele avatar nickvandewiele commented on August 22, 2024

I believe this thread is also related: https://groups.google.com/forum/#!topic/scoop-users/z75AF3n1WBU and proposes an alternative to the decorator you mentioned.

from scoop.

joernhees avatar joernhees commented on August 22, 2024

hmm, yes, seems related, but there are a lot of times when you just don't want to put anything on stdout...

also think about nested invocations...

from scoop.

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.