Add query string to API "call not implemented" log message

This commit is contained in:
Hypolite Petovan 2019-05-19 17:57:53 -04:00
parent 862159c712
commit b5454547e9
1 changed files with 1 additions and 1 deletions

View 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}");