From 7e2acf6eb8a878c6296a65dc55da52b92e32958a Mon Sep 17 00:00:00 2001 From: Arvin Schnell Date: Mon, 17 Jun 2024 19:22:16 +0200 Subject: [PATCH] - extended error logging --- zypp-plugin/snapper-zypp-plugin.cc | 8 ++++++++ 1 file changed, 8 insertions(+) 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) {