[yast-commit] r59922 - in /trunk/pkg-bindings: package/yast2-pkg-bindings.changes src/Source_Load.cc
![](https://seccdn.libravatar.org/avatar/c3c40c0a8c67869856fd7e06cbcb4099.jpg?s=120&d=mm&r=g)
Author: lslezak Date: Thu Dec 3 09:20:59 2009 New Revision: 59922 URL: http://svn.opensuse.org/viewcvs/yast?rev=59922&view=rev Log: - return more details when a service refresh fails (bnc#558049) Modified: trunk/pkg-bindings/package/yast2-pkg-bindings.changes trunk/pkg-bindings/src/Source_Load.cc Modified: trunk/pkg-bindings/package/yast2-pkg-bindings.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/pkg-bindings/package/yast2-pkg-bi... ============================================================================== --- trunk/pkg-bindings/package/yast2-pkg-bindings.changes (original) +++ trunk/pkg-bindings/package/yast2-pkg-bindings.changes Thu Dec 3 09:20:59 2009 @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Thu Dec 3 08:19:45 UTC 2009 - lslezak@suse.cz + +- return more details when a service refresh fails (bnc#558049) + +------------------------------------------------------------------- Tue Dec 1 15:28:04 UTC 2009 - lslezak@suse.cz - Pkg::ResolvableProperties() - return product file and it's Modified: trunk/pkg-bindings/src/Source_Load.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/pkg-bindings/src/Source_Load.cc?r... ============================================================================== --- trunk/pkg-bindings/src/Source_Load.cc (original) +++ trunk/pkg-bindings/src/Source_Load.cc Thu Dec 3 09:20:59 2009 @@ -105,7 +105,9 @@ { // service refresh is not fatal, let's continue y2error ("Error in service refresh: %s", excpt.asString().c_str()); - _last_error.setLastError(ExceptionAsString(excpt)); + // error message, service name and URL is appened at the end of the string + _last_error.setLastError(std::string(_("Error refreshing service")) + " " + srv_it->name() + " (" + + srv_it->url().asString() + "):\n\n" + ExceptionAsString(excpt)); success = false; } } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
lslezak@svn.opensuse.org