net: fix html dom debug print (#13625)

pull/13629/head
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
1 changed files with 1 additions and 1 deletions

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