aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/bun/http-file.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/bun/http-file.ts b/examples/bun/http-file.ts
index 9d0a2362f..f2c0773e8 100644
--- a/examples/bun/http-file.ts
+++ b/examples/bun/http-file.ts
@@ -7,9 +7,9 @@ Bun.serve({
},
// this is called when fetch() throws or rejects
- error(err: Error) {
- return new Response("uh oh! :(" + String(err.toString()), { status: 500 });
- },
+ // error(err: Error) {
+ // return new Response("uh oh! :(" + String(err.toString()), { status: 500 });
+ // },
// this boolean enables the bun's default error handler
// sometime after the initial release, it will auto reload as well