aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2021-03-24 15:24:49 +0100
committerGitHub <noreply@github.com>2021-03-24 15:24:49 +0100
commit6e40c2fb52976e268821ae365c52dbb5253430a9 (patch)
tree08cac485b4496e6c7943ecf7eebb288bd7622e1a
parent4406092fd680dc26001a78cdcf179aca3dc0b235 (diff)
parent02c011c4f7d543c1835ca293ae29e5023fe6d7cb (diff)
downloadnextcloud-server-6e40c2fb52976e268821ae365c52dbb5253430a9.tar.gz
nextcloud-server-6e40c2fb52976e268821ae365c52dbb5253430a9.zip
Merge pull request #26274 from nextcloud/bugfix/noid/make-debugging-easier
Make debugging easier which header is being set
-rw-r--r--lib/public/AppFramework/Http/Response.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/public/AppFramework/Http/Response.php b/lib/public/AppFramework/Http/Response.php
index fc3ee739773..45ae8743012 100644
--- a/lib/public/AppFramework/Http/Response.php
+++ b/lib/public/AppFramework/Http/Response.php
@@ -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,
+ ]);
}
}