Update package fact format after discussions with core team

This commit is contained in:
Matthew Jones
2015-02-25 13:31:14 -05:00
parent 0db749ea19
commit 3615f8a634
2 changed files with 19 additions and 7 deletions

View File

@@ -53,7 +53,8 @@ class CacheModule(BaseCacheModule):
self.socket = self.context.socket(zmq.REQ)
self.socket.connect(self._tower_connection)
except Exception, e:
print("Connection to zeromq failed at %s" % str(self._tower_connection))
print("Connection to zeromq failed at %s with error: %s" % (str(self._tower_connection),
str(e)))
sys.exit(1)
def get(self, key):