Git Product home page Git Product logo

Comments (4)

mrbbot avatar mrbbot commented on August 19, 2024 1

Hey! 👋 Thanks for raising this issue. I was going to transfer this to workers-sdk as that's the new home for Miniflare 3, but considering we already have that PR and this is on our internal issue tracker, I'm going to close this.

from miniflare.

frandiox avatar frandiox commented on August 19, 2024

I might be mistaken but I think that, in latest Miniflare 3, the error comes already stringified from Workerd and Miniflare just prints it without modifying the stack trace. Somewhere around here. Maybe that's the place to add sourcemaps 🤔

from miniflare.

mrbbot avatar mrbbot commented on August 19, 2024

Hey! 👋 Yep, in Miniflare 3 (which I'm assuming this issue is for), we just see a string from workerd here:

stderr.on("line", (data) => console.error(red(data)));

This is the same problem as logging stacks to the console (i.e. console.log(new Error().stack));
There was a PR to workers-sdk to address this issue (cloudflare/workers-sdk#3739). We're planning on addressing that soon. 👍

from miniflare.

huw avatar huw commented on August 19, 2024

Can’t believe I didn’t see that—thank you! I’ll leave it to you to whether you wanna close this issue now or after that ships :)

from miniflare.

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.