From: Arvin Schnell Date: Thu, 7 Jul 2011 07:35:57 +0000 (+0200) Subject: - added error logging X-Git-Tag: v0.1.3~341 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=477b022295e6138c77c774afcf3ac4a605add64d;p=thirdparty%2Fsnapper.git - added error logging --- diff --git a/snapper/Snapshot.cc b/snapper/Snapshot.cc index 8512769c..3aed2ab7 100644 --- a/snapper/Snapshot.cc +++ b/snapper/Snapshot.cc @@ -280,7 +280,10 @@ namespace snapper ++num; if (r != 0) + { + y2err("mkdir failed errno:" << errno << " (" << strerror(errno) << ")"); throw IOErrorException(); + } return num; }