untestable/thttpclient_ssl: catch errors caused by the bad catergory
Previously the errors caused by `SSL_shutdown()` masked these, so now we catch them.
This commit is contained in:
parent
82092b3bb7
commit
19ccc5fd8d
1 changed files with 1 additions and 1 deletions
|
|
@ -106,7 +106,7 @@ template evaluate(exception_msg: string, category: Category, desc: string) =
|
|||
exception_msg == "SSL Certificate check failed." or
|
||||
exception_msg.contains("certificate verify failed") or
|
||||
exception_msg.contains("key too small") or
|
||||
exception_msg.contains "shutdown while in init", exception_msg
|
||||
exception_msg.contains "alert handshake failure", exception_msg
|
||||
|
||||
else:
|
||||
# this is unexpected
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue