fix masking skip and abort exception
authorJosef Reidinger <jreidinger@suse.cz>
Tue, 18 Mar 2008 10:39:49 +0000 (10:39 +0000)
committerJosef Reidinger <jreidinger@suse.cz>
Tue, 18 Mar 2008 10:39:49 +0000 (10:39 +0000)
zypp/Fetcher.cc

index 4c25685..95c6ed6 100644 (file)
@@ -210,12 +210,11 @@ namespace zypp
 
 
         }
-        catch (const Exception & excpt_r)
+        catch (Exception & excpt_r)
         {
           ZYPP_CAUGHT(excpt_r);
-          Exception nexcpt("Can't provide " + (*it_res)->location.filename().asString() + " : " + excpt_r.msg());
-          nexcpt.remember(excpt_r);
-          ZYPP_THROW(nexcpt);
+          excpt_r.remember("Can't provide " + (*it_res)->location.filename().asString() + " : " + excpt_r.msg());
+          ZYPP_RETHROW(excpt_r);
         }
       }
       else