Rethrow error which was caused by the handshake