fix propagation error on ssl error