diff --git a/alerta/webhooks/custom.py b/alerta/webhooks/custom.py index 4742cfbb3..d5b774051 100644 --- a/alerta/webhooks/custom.py +++ b/alerta/webhooks/custom.py @@ -23,6 +23,10 @@ @cross_origin() @permission(Scope.write_webhooks) def custom(webhook, path): + try: + LOG.debug('Webhook alert with full payload: %s' % json.dumps(request.get_json())) + except Exception as e: + pass if webhook not in custom_webhooks.webhooks: raise ApiError(f"Custom webhook '{webhook}' not found.", 404) diff --git a/package.json b/package.json index 91e7c4834..c3cbc3b5a 100644 --- a/package.json +++ b/package.json @@ -1,3 +1,3 @@ { - "version":"2.0.12" + "version":"2.0.13" }