]> git.mxchange.org Git - friendica.git/commitdiff
Add query string to API "call not implemented" log message
authorHypolite Petovan <hypolite@mrpetovan.com>
Sun, 19 May 2019 21:57:53 +0000 (17:57 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Mon, 20 May 2019 19:28:54 +0000 (15:28 -0400)
include/api.php

index eccd77675e91125ed3eae26191bb31b7e678ea07..0ca0bf838c983179e219b883dcfc3cf1c7aa19dc 100644 (file)
@@ -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}");