We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce5fada commit 06e510bCopy full SHA for 06e510b
aiohttp/web_server.py
@@ -123,4 +123,11 @@ def __call__(self) -> RequestHandler[_Request]:
123
for k, v in self._kwargs.items()
124
if k in ["debug", "access_log_class"]
125
}
126
- return RequestHandler(self, loop=self._loop, **kwargs)
+ handler = RequestHandler(self, loop=self._loop, **kwargs)
127
+ handler.logger.warning(
128
+ "Failed to create request handler with custom kwargs %r, "
129
+ "falling back to filtered kwargs. This may indicate a "
130
+ "misconfiguration.",
131
+ self._kwargs,
132
+ )
133
+ return handler
0 commit comments