Skip to content

Commit

Permalink
- log exception cause
Browse files Browse the repository at this point in the history
  • Loading branch information
aschnell committed Nov 26, 2012
1 parent 3a9564d commit 93ca6a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions agent-snapper/src/SnapperAgent.cc
Expand Up @@ -195,7 +195,7 @@ YCPValue SnapperAgent::Read(const YCPPath &path, const YCPValue& arg, const YCPV
}
catch (const ListConfigsFailedException& e)
{
y2error ("sysconfig file not found.");
y2error("list-configs failed (%s).", e.what());
snapper_error = "sysconfig_not_found";
return YCPVoid();
}
Expand Down Expand Up @@ -431,7 +431,7 @@ YCPValue SnapperAgent::Execute(const YCPPath &path, const YCPValue& arg,
}
catch (const CreateConfigFailedException& e)
{
y2error("create-config failed.");
y2error("create-config failed (%s).", e.what());
return YCPBoolean (false);
}

Expand Down

0 comments on commit 93ca6a2

Please sign in to comment.