From 228d7303e019e14d4418e18572a47a87d064afbd Mon Sep 17 00:00:00 2001 From: Stanislav Visnovsky Date: Mon, 20 Mar 2006 14:53:34 +0000 Subject: [PATCH] don't try to attach without exception handling (#158620) --- zypp/source/SourceImpl.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/zypp/source/SourceImpl.cc b/zypp/source/SourceImpl.cc index f0c7c53..3b75a58 100644 --- a/zypp/source/SourceImpl.cc +++ b/zypp/source/SourceImpl.cc @@ -199,9 +199,10 @@ namespace zypp user == media::MediaChangeReport::CHANGE_URL ) { // retry - DBG << "Going to attach again" << endl; + DBG << "Going to try again" << endl; - media_mgr.attach( _media ); + // not attaching, media set will do that for us + // this could generate uncaught exception (#158620) break; } -- 2.7.4