Greetings,
The following fix is for:
12221 client traceback if refresh fails due to exception
I was never able to reproduce the failure case, and we have unit tests
for refresh failure.
I only know that this should resolve the issue:
diff -r ad0aeca5a88a src/modules/client/image.py
--- a/src/modules/client/image.py Mon Oct 26 15:32:45 2009 -0500
+++ b/src/modules/client/image.py Mon Oct 26 16:32:48 2009 -0500
@@ -1487,7 +1487,7 @@
e = api_errors.CatalogRefreshException(failed,
total,
len(succeeded))
self.history.log_operation_end(error=e)
- raise
+ raise e
self.history.log_operation_end()
def _get_publisher_meta_dir(self):
Cheers,
--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss