Merge pull request #26274 from nextcloud/bugfix/noid/make-debugging-easier
Make debugging easier which header is being set
This commit is contained in:
commit
6e40c2fb52
|
@ -211,9 +211,9 @@ class Response {
|
|||
$config = \OC::$server->get(IConfig::class);
|
||||
|
||||
if ($config->getSystemValueBool('debug', false)) {
|
||||
\OC::$server->get(LoggerInterface::class)->error(
|
||||
'Setting a custom header on a 204 or 304 is not supported'
|
||||
);
|
||||
\OC::$server->get(LoggerInterface::class)->error('Setting custom header on a 204 or 304 is not supported (Header: {header})', [
|
||||
'header' => $name,
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue