mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
This reverts commit b92d98556b.
This commit is contained in:
@@ -78,7 +78,7 @@ Bun.serve({
|
||||
fetch(req) {
|
||||
throw new Error("woops!");
|
||||
},
|
||||
error(error: Error, req: Request | null) {
|
||||
error(error) {
|
||||
return new Response(`<pre>${error}\n${error.stack}</pre>`, {
|
||||
headers: {
|
||||
"Content-Type": "text/html",
|
||||
|
||||
Reference in New Issue
Block a user