mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 01:54:26 +02:00
Use Args::getMethod() at various places
This commit is contained in:
parent
ee2a15d822
commit
4e67bfed8d
5 changed files with 6 additions and 15 deletions
|
@ -47,7 +47,7 @@ class Error extends BaseFactory
|
|||
|
||||
private function logError(int $errorno, string $error)
|
||||
{
|
||||
$this->logger->info('API Error', ['no' => $errorno, 'error' => $error, 'method' => $this->server['REQUEST_METHOD'] ?? '', 'command' => $this->args->getQueryString(), 'user-agent' => $this->server['HTTP_USER_AGENT'] ?? '']);
|
||||
$this->logger->info('API Error', ['no' => $errorno, 'error' => $error, 'method' => $this->args->getMethod(), 'command' => $this->args->getQueryString(), 'user-agent' => $this->server['HTTP_USER_AGENT'] ?? '']);
|
||||
}
|
||||
|
||||
public function RecordNotFound()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue