From c941a1248e7d2d15d83f9afae5b0091a81ed1caa Mon Sep 17 00:00:00 2001 From: Philipp Batroff Date: Wed, 27 Nov 2019 17:11:00 +0100 Subject: [PATCH] Added logging to successful webhook handling --- proxy/webhook2api.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/proxy/webhook2api.php b/proxy/webhook2api.php index 92c993b..084d313 100644 --- a/proxy/webhook2api.php +++ b/proxy/webhook2api.php @@ -143,10 +143,11 @@ function webhook2api_processConfiguration($configuration, $post_input) { // TODO: implement //error_log("Webhook2API.response_mapping: not implemented!"); http_response_code('200'); - + civiproxy_log("Webhook successfull, response mapped."); } else { // default behaviour: http_response_code('200'); + civiproxy_log("Webhook successfull."); } // all done exit();