GithubHelp home page GithubHelp logo

Comments (4)

bikegriffith avatar bikegriffith commented on September 1, 2024

+1, would be tremendously helpful

from react-rails.

vegetabill avatar vegetabill commented on September 1, 2024

Has anyone been able to get js stack traces? I only ever see the error's message and when it's something generic it makes it really tough to track down a problem.

from react-rails.

bikegriffith avatar bikegriffith commented on September 1, 2024

@RearAdmiral I left the stack trace out intentionally. With a little bit more work, I could update it to include a representation of the stack as an additional part of the message string, but I was really trying to just get something better than what we have now. Seems like a future enhancement rather than part of this request unless others want it now.

EDIT: whoops, thought I was responding in regards to pull request 196. Re-reading it, I think you're talking about when your code throws an unhandled exception and ExecJS re-raises the error in Ruby-land with the JS message but not JS stack. I've been bitten by that as well and don't have a good solution there, but could think of some ways we might address it in the future.

from react-rails.

rmosolgo avatar rmosolgo commented on September 1, 2024

The error message includes the ExecJS stack trace since #215, horray!

from react-rails.

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.