net: fix html dom debug print (#13625)
parent
aa633dab41
commit
6d57315aca
|
@ -25,7 +25,7 @@ mut:
|
||||||
fn (mut dom DocumentObjectModel) print_debug(data string) {
|
fn (mut dom DocumentObjectModel) print_debug(data string) {
|
||||||
$if debug {
|
$if debug {
|
||||||
if data.len > 0 {
|
if data.len > 0 {
|
||||||
dom.debug_file.writeln(data) or { panic(err) }
|
dom.debug_file.writeln(data) or { eprintln(err) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue