mirror of
https://github.com/YGGverse/agate.git
synced 2026-04-08 12:35:28 +00:00
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:
parent
d4324233c7
commit
3ffe89b775
4 changed files with 26 additions and 9 deletions
|
|
@ -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)),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue