Skip to content

Lightpanda: the headless browser designed for AI and automation

debug: Use normal crash report assertion in debug

Karl Seguin4dbec74dfcd1
diff --git a/src/lightpanda.zig b/src/lightpanda.zig
index fb1659d4e..d7e735542 100644
--- a/src/lightpanda.zig
+++ b/src/lightpanda.zig
@@ -273,9 +273,6 @@ fn dumpWPT(frame: *Frame, writer: *std.Io.Writer) !void {
pub inline fn assert(ok: bool, comptime ctx: []const u8, args: anytype) void {
if (!ok) {
- if (comptime IS_DEBUG) {
- unreachable;
- }
assertionFailure(ctx, args);
}
}