Skip to content

Commit

Permalink
- log catch of exception
Browse files Browse the repository at this point in the history
  • Loading branch information
aschnell committed Sep 15, 2021
1 parent 03a42dc commit 4b7992c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions snapper/Btrfs.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 4b7992c

Please sign in to comment.