- Start a TLS/SSL server where the cacertfile option points to an invalid path
- Make a connection to the server. You will see an error logged such as this:
In this line, the error is caught and the state machine attempts to enter the error state, but format_status doesn't handle this particular case.
It seems like format_status needs to be updated, or the call to enter_loop should be this when an error is caught:
I'll see if I can get a PR done. Thanks!