Skip to content

Lightpanda: the headless browser designed for AI and automation

log command on failed sniff

Karl Seguin162e73e1c125
diff --git a/src/cli.zig b/src/cli.zig
index 9ee5d4d6d..8eda8588a 100644
--- a/src/cli.zig
+++ b/src/cli.zig
@@ -518,7 +518,7 @@ pub fn Builder(comptime commands: anytype) type {
}
}
- return error.UnknownCommand;
+ return unknownCommand(cmd_str);
}
/// Turns a snake_case string to kebab-case in comptime.