From 4b7992c8d234f21d0bc3cd9b720522febc95a6ab Mon Sep 17 00:00:00 2001 From: Arvin Schnell Date: Wed, 15 Sep 2021 10:37:18 +0200 Subject: [PATCH] - log catch of exception --- snapper/Btrfs.cc | 3 +++ 1 file changed, 3 insertions(+) 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; } } -- 2.47.3