diff --git a/rhodecode/tweens.py b/rhodecode/tweens.py --- a/rhodecode/tweens.py +++ b/rhodecode/tweens.py @@ -45,13 +45,13 @@ def vcs_detection_tween_factory(handler, request.environ[VCS_TYPE_KEY] = vcs_handler.SCM request.vcs_call = vcs_handler.SCM - log.debug('Processing request with `%s` handler', handler) + log.debug('Processing request with `%s` handler', handler.__name__) return handler(request) # mark that we didn't detect an VCS, and we can skip detection later on request.environ[VCS_TYPE_KEY] = VCS_TYPE_SKIP - log.debug('Processing request with `%s` handler', handler) + log.debug('Processing request with `%s` handler', handler.__name__) return handler(request) return vcs_detection_tween