]> git.ipfire.org Git - thirdparty/snapper.git/commitdiff
- catch base exception
authorArvin Schnell <aschnell@suse.de>
Wed, 20 Feb 2013 10:33:20 +0000 (11:33 +0100)
committerArvin Schnell <aschnell@suse.de>
Wed, 20 Feb 2013 10:33:20 +0000 (11:33 +0100)
snapper/Btrfs.cc

index b8da76ff3fc43875a8c974ac67cb04c062f28fe9..088cef184acb9bffeb0b7e3ac388d771f6737db4 100644 (file)
@@ -1200,8 +1200,9 @@ namespace snapper
 
            y2mil("stopwatch " << stopwatch << " for comparing directories");
        }
-       catch (const BtrfsSendReceiveException& e)
+       catch (const SnapperException& e)
        {
+           y2err("special btrfs cmpDirs failed, " << e.what());
            y2mil("cmpDirs fallback");
 
            snapper::cmpDirs(dir1, dir2, cb);