From: Frank Brehm Date: Wed, 25 Jan 2017 10:04:50 +0000 (+0100) Subject: Fixing lib/webhooks/deploy.py X-Git-Tag: 0.8.4~58 X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=97c07300413568189702677608ca9095f3347ffe;p=pixelpark%2Fpuppetmaster-webhooks.git Fixing lib/webhooks/deploy.py --- diff --git a/lib/webhooks/deploy.py b/lib/webhooks/deploy.py index ba277e3..ca61b46 100644 --- a/lib/webhooks/deploy.py +++ b/lib/webhooks/deploy.py @@ -183,7 +183,7 @@ class WebhookDeployApp(object): try: self.json_data = json.loads(self.data) except Exception as e: - LOG.error("Got a {n} reading input data: {e}".format(n=e.__class__.__name__, e)) + LOG.error("Got a {n} reading input data: {e}".format(n=e.__class__.__name__, e=e)) LOG.error("Input data:\n{}".format(self.data)) sys.exit(0)