Path 1: 17 calls (1.0)

tuple (17)

1def log_exception(
2        self,
3        exc_info: (tuple[type, BaseException, TracebackType] | tuple[None, None, None]),
4    ) -> None:
5        """Logs an exception.  This is called by :meth:`handle_exception`
6        if debugging is disabled and right before the handler is called.
7        The default implementation logs the exception as error on the
8        :attr:`logger`.
9
10        .. versionadded:: 0.8
11        """
12        self.logger.error(
13            f"Exception on {request.path} [{request.method}]", exc_info=exc_info
14        )