diff options
Diffstat (limited to 'library/monitoring/airbrake_deployment')
-rw-r--r-- | library/monitoring/airbrake_deployment | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/monitoring/airbrake_deployment b/library/monitoring/airbrake_deployment index b65928c8f3..50a353a5bf 100644 --- a/library/monitoring/airbrake_deployment +++ b/library/monitoring/airbrake_deployment @@ -94,7 +94,7 @@ def main(): user=dict(required=False), repo=dict(required=False), revision=dict(required=False), - url=dict(required=False, default='https://airbrake.io/deploys') + url=dict(required=False, default='https://api.airbrake.io/deploys.txt') ), supports_check_mode=True ) @@ -127,7 +127,7 @@ def main(): req = urllib2.Request(url, urllib.urlencode(params)) result=urllib2.urlopen(req) except Exception, e: - module.fail_json(msg="unable to update airbrake via %s : %s" % (url, e)) + module.fail_json(msg="unable to update airbrake via %s?%s : %s" % (url, urllib.urlencode(params), e)) else: if result.code == 200: module.exit_json(changed=True) |