From: Hypolite Petovan Date: Sun, 19 May 2019 21:57:53 +0000 (-0400) Subject: Add query string to API "call not implemented" log message X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b5454547e94e166130eca099a88eebbda9a72357;p=friendica.git Add query string to API "call not implemented" log message --- diff --git a/include/api.php b/include/api.php index eccd77675e..0ca0bf838c 100644 --- a/include/api.php +++ b/include/api.php @@ -361,7 +361,7 @@ function api_call(App $a) } } - Logger::warning(API_LOG_PREFIX . 'not implemented', ['module' => 'api', 'action' => 'call']); + Logger::warning(API_LOG_PREFIX . 'not implemented', ['module' => 'api', 'action' => 'call', 'query' => $a->query_string]); throw new NotImplementedException(); } catch (HTTPException $e) { header("HTTP/1.1 {$e->getCode()} {$e->httpdesc}");