]> git.ipfire.org Git - thirdparty/snapper.git/commitdiff
- extended error logging 914/head
authorArvin Schnell <aschnell@suse.de>
Mon, 17 Jun 2024 17:22:16 +0000 (19:22 +0200)
committerArvin Schnell <aschnell@suse.de>
Mon, 17 Jun 2024 17:22:16 +0000 (19:22 +0200)
zypp-plugin/snapper-zypp-plugin.cc

index 7d1e9dbb97173be97b501d5ac7aa72636902abd2..45d5af3d2ffd5d1092392fcbab276ce252c7ded4 100644 (file)
@@ -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)
            {