don't try to attach without exception handling (#158620)
authorStanislav Visnovsky <visnov@suse.cz>
Mon, 20 Mar 2006 14:53:34 +0000 (14:53 +0000)
committerStanislav Visnovsky <visnov@suse.cz>
Mon, 20 Mar 2006 14:53:34 +0000 (14:53 +0000)
zypp/source/SourceImpl.cc

index f0c7c53..3b75a58 100644 (file)
@@ -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;
            }