diff options
Diffstat (limited to 'django')
| -rw-r--r-- | django/core/handlers/base.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/django/core/handlers/base.py b/django/core/handlers/base.py index 0f341a5328..caee168cbf 100644 --- a/django/core/handlers/base.py +++ b/django/core/handlers/base.py @@ -125,11 +125,11 @@ class BaseHandler: if is_async: if not method_is_async: if debug: - logger.debug("Synchronous %s adapted.", name) + logger.debug("Synchronous handler adapted for %s.", name) return sync_to_async(method, thread_sensitive=True) elif method_is_async: if debug: - logger.debug("Asynchronous %s adapted.", name) + logger.debug("Asynchronous handler adapted for %s.", name) return async_to_sync(method) return method |
