diff --git a/tools/incr-check.zig b/tools/incr-check.zig index 500635b24972b5a54f69a873489c130e3f39a7f0..9b7dbf8aa323c21c3aa4254f48dd4331be9bfb83 100644 --- a/tools/incr-check.zig +++ b/tools/incr-check.zig @@ -316,9 +316,7 @@ const Eval = struct { while (true) { const header = client.receiveMessageWithMultiReader(mr, .none) catch |err| switch (err) { error.Timeout => unreachable, - // If this panic triggers it might be helpful to rework this - // code to print the stderr from the abnormally terminated child. - error.EndOfStream => @panic("unexpected mid-message end of stream"), + error.EndOfStream => break, else => |e| return e, }; const body = client.in.take(header.bytes_len) catch unreachable;