1
0
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:
kahsa 2022-03-02 02:20:40 +09:00 committed by GitHub
parent aa633dab41
commit 6d57315aca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) }
}
}
}