diff options
author | 2022-01-04 22:31:59 -0800 | |
---|---|---|
committer | 2022-01-05 13:12:11 -0800 | |
commit | 8ad349dcf0a3c738fe51921340e6f7e802a30ad3 (patch) | |
tree | ca2b355a649ece83624cbdef39ce7b848664c3e4 /src | |
parent | 7146bfc04a3eb61924ad5f5eff134af7ec32f139 (diff) | |
download | bun-8ad349dcf0a3c738fe51921340e6f7e802a30ad3.tar.gz bun-8ad349dcf0a3c738fe51921340e6f7e802a30ad3.tar.zst bun-8ad349dcf0a3c738fe51921340e6f7e802a30ad3.zip |
Update http.zig
Diffstat (limited to 'src')
-rw-r--r-- | src/http.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http.zig b/src/http.zig index 0f67f481d..844e36ac0 100644 --- a/src/http.zig +++ b/src/http.zig @@ -680,7 +680,7 @@ pub const RequestContext = struct { pub fn sendInternalError(ctx: *RequestContext, err: anytype) !void { defer ctx.done(); try ctx.writeStatusError(err); - const printed = std.fmt.bufPrint(&error_buf, "error: {s}", .{@errorName(err)}) catch |err2| brk: { + const printed = std.fmt.bufPrint(&error_buf, "error: {s}\nPlease see your terminal for more details", .{@errorName(err)}) catch |err2| brk: { if (Environment.isDebug or Environment.isTest) { Global.panic("error while printing error: {s}", .{@errorName(err2)}); } |