From: Arvin Schnell Date: Wed, 15 Sep 2021 08:37:18 +0000 (+0200) Subject: - log catch of exception X-Git-Tag: v0.9.1~2^2 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=4b7992c8d234f21d0bc3cd9b720522febc95a6ab;p=thirdparty%2Fsnapper.git - log catch of exception --- diff --git a/snapper/Btrfs.cc b/snapper/Btrfs.cc index ffeeba7c..0a710cff 100644 --- a/snapper/Btrfs.cc +++ b/snapper/Btrfs.cc @@ -478,8 +478,11 @@ namespace snapper } catch (const IOErrorException& e) { + SN_CAUGHT(e); + // TODO the openInfoDir above logs an error although when this // function is used from nextNumber the failure is ok + return false; } }