method

log_error

log_error(exception)
private

This is the same logging logic as in ShowExceptions middleware.