mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
net: fix html dom debug print (#13625)
This commit is contained in:
parent
aa633dab41
commit
6d57315aca
@ -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) }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user