]> Frank Brehm's Git Trees - pixelpark/puppetmaster-webhooks.git/commitdiff
Fixing lib/webhooks/deploy.py
authorFrank Brehm <frank.brehm@pixelpark.com>
Wed, 25 Jan 2017 10:04:50 +0000 (11:04 +0100)
committerFrank Brehm <frank.brehm@pixelpark.com>
Wed, 25 Jan 2017 10:04:50 +0000 (11:04 +0100)
lib/webhooks/deploy.py

index ba277e3223c8e7f2809db394496eee9ca5f28c22..ca61b462f5f7d6c8875ba0d94da6f1a79eaf9764 100644 (file)
@@ -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)