From: Arvin Schnell Date: Wed, 20 Feb 2013 10:33:20 +0000 (+0100) Subject: - catch base exception X-Git-Tag: v0.1.3~28 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3c267e9d80c7dafb483423ac3a78f87dae9b79be;p=thirdparty%2Fsnapper.git - catch base exception --- diff --git a/snapper/Btrfs.cc b/snapper/Btrfs.cc index b8da76ff..088cef18 100644 --- a/snapper/Btrfs.cc +++ b/snapper/Btrfs.cc @@ -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);