commit e9fc0b755ac8445bd2060b652fe4b871bf4a6dcf
Author: Radek Novacek <rnovacek(a)redhat.com>
Date: Wed Dec 21 14:21:36 2011 +0100
Fix logging exceptions
subscriptionmanager.py | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/subscriptionmanager.py b/subscriptionmanager.py
index 63492ee..236cbd0 100644
--- a/subscriptionmanager.py
+++ b/subscriptionmanager.py
@@ -60,8 +60,7 @@ class SubscriptionManager:
if not self.connection.ping()['result']:
self.logger.error("Unable to obtain status from server,
UEPConnection is likely not usable.")
except Exception, e:
- self.logger.warn("Unable to obtain status from server, UEPConnection is
likely not usable:")
- self.logger.exception(e)
+ self.logger.exception("Unable to obtain status from server,
UEPConnection is likely not usable:")
def sendVirtGuests(self, domains):
""" Update consumer facts with UUIDs of virtual guests.
"""
Show replies by date