Skip to content

Commit

Permalink
[XrdCl] Handle properly failure of TLS layer.
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmichal committed Oct 16, 2019
1 parent 89bee3b commit 876c4e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/XrdCl/XrdClSocket.cc
Expand Up @@ -753,9 +753,9 @@ namespace XrdCl
if( !pTls ) pTls = new Tls( this, socketHandler );
return pTls->Connect( thehost, &pServerAddr );
}
catch( std::invalid_argument& ex )
catch( std::exception& ex )
{
Status( stError, errTlsError );
return Status( stError, errTlsError );
}

return Status();
Expand Down

0 comments on commit 876c4e4

Please sign in to comment.