diff options
author | 2022-04-04 06:37:46 -0700 | |
---|---|---|
committer | 2022-04-04 06:37:46 -0700 | |
commit | 078ceb7168cc70d1715e99611a8898ecf537812b (patch) | |
tree | 653943a323382c07a64fe7c91ad0bdeaf66fda0b | |
parent | 9554dd1c336a204c7808ac03125a876b03556e46 (diff) | |
download | bun-078ceb7168cc70d1715e99611a8898ecf537812b.tar.gz bun-078ceb7168cc70d1715e99611a8898ecf537812b.tar.zst bun-078ceb7168cc70d1715e99611a8898ecf537812b.zip |
Update http-file.ts
-rw-r--r-- | examples/bun/http-file.ts | 6 |
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 |