From: Arvin Schnell Date: Mon, 17 Jun 2024 17:22:16 +0000 (+0200) Subject: - extended error logging X-Git-Tag: v0.11.1~1^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7e2acf6eb8a878c6296a65dc55da52b92e32958a;p=thirdparty%2Fsnapper.git - extended error logging --- diff --git a/zypp-plugin/snapper-zypp-plugin.cc b/zypp-plugin/snapper-zypp-plugin.cc index 7d1e9dbb..45d5af3d 100644 --- a/zypp-plugin/snapper-zypp-plugin.cc +++ b/zypp-plugin/snapper-zypp-plugin.cc @@ -151,6 +151,8 @@ SnapperZyppCommitPlugin::commit_begin(const Message& msg) { SN_CAUGHT(ex); y2err(error_description(ex)); + y2err(ex.name()); + y2err(ex.message()); } catch (const Exception& ex) { @@ -193,6 +195,8 @@ SnapperZyppCommitPlugin::commit_end(const Message& msg) { SN_CAUGHT(ex); y2err(error_description(ex)); + y2err(ex.name()); + y2err(ex.message()); } catch (const Exception& ex) { @@ -212,6 +216,8 @@ SnapperZyppCommitPlugin::commit_end(const Message& msg) { SN_CAUGHT(ex); y2err(error_description(ex)); + y2err(ex.name()); + y2err(ex.message()); } catch (const Exception& ex) { @@ -232,6 +238,8 @@ SnapperZyppCommitPlugin::commit_end(const Message& msg) { SN_CAUGHT(ex); y2err(error_description(ex)); + y2err(ex.name()); + y2err(ex.message()); } catch (const Exception& ex) {