make all log lines uniform

Now also if the connection is never established. Use the nonexistent status
code 00 for that.
This commit is contained in:
Johann150 2021-03-06 23:36:08 +01:00
parent d4324233c7
commit 3ffe89b775
No known key found for this signature in database
GPG key ID: 9EE6577A2A06F8F1
4 changed files with 26 additions and 9 deletions

View file

@ -255,7 +255,8 @@ impl RequestHandle {
log_line,
metadata,
}),
Err(e) => Err(format!("{} error:{}", log_line, e)),
// use nonexistent status code 00 if connection was not established
Err(e) => Err(format!("{} \"\" 00 \"TLS error\" error:{}", log_line, e)),
}
}