-
Notifications
You must be signed in to change notification settings - Fork 735
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
polish: add -y
--yes
flag to init
#446
Labels
polish
Small improvements to the experience
Comments
mrbbot
added a commit
that referenced
this issue
Oct 31, 2023
Previously, errors _thrown_ using the `MF-Experimental-Error-Stack` header were only shown in a pretty-error page. This PR logs those errors with source-maps applied to the console too, using the `source-map-support` package. This simplifies our code, and also means we don't need to touch internal Youch methods, as the errors we pass to Youch are already source-mapped.
mrbbot
added a commit
that referenced
this issue
Nov 1, 2023
Previously, errors _thrown_ using the `MF-Experimental-Error-Stack` header were only shown in a pretty-error page. This PR logs those errors with source-maps applied to the console too, using the `source-map-support` package. This simplifies our code, and also means we don't need to touch internal Youch methods, as the errors we pass to Youch are already source-mapped.
mrbbot
added a commit
that referenced
this issue
Nov 1, 2023
Previously, errors _thrown_ using the `MF-Experimental-Error-Stack` header were only shown in a pretty-error page. This PR logs those errors with source-maps applied to the console too, using the `source-map-support` package. This simplifies our code, and also means we don't need to touch internal Youch methods, as the errors we pass to Youch are already source-mapped.
mrbbot
added a commit
that referenced
this issue
Nov 1, 2023
Previously, errors _thrown_ using the `MF-Experimental-Error-Stack` header were only shown in a pretty-error page. This PR logs those errors with source-maps applied to the console too, using the `source-map-support` package. This simplifies our code, and also means we don't need to touch internal Youch methods, as the errors we pass to Youch are already source-mapped.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To increase ergonomic for a rapid initialization of a Worker environment, yes flag can be provided that would
automatically provide this setup:
package.json
tsconfig.json
&@cloudflare/workers-types
The text was updated successfully, but these errors were encountered: