diff --git a/vlib/net/html/dom.v b/vlib/net/html/dom.v index b145ddc46b..00be4e4bc5 100644 --- a/vlib/net/html/dom.v +++ b/vlib/net/html/dom.v @@ -25,7 +25,7 @@ mut: fn (mut dom DocumentObjectModel) print_debug(data string) { $if debug { if data.len > 0 { - dom.debug_file.writeln(data) or { panic(err) } + dom.debug_file.writeln(data) or { eprintln(err) } } } }