Add query string to API "call not implemented" log message
This commit is contained in:
parent
862159c712
commit
b5454547e9
1 changed files with 1 additions and 1 deletions
|
@ -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}");
|
||||
|
|
Loading…
Reference in a new issue