lib/google_logger/controller_logging.rb
# Logs the request and any uncaught exceptions, acts as an `around_action` filter.
# Exceptions are propagated so that they can be caught in the application.
Logs the request and any uncaught exceptions, acts as an `around_action` filter.
Exceptions are propagated so that they can be caught in the application.
Logs the request and any uncaught exceptions acts as an ` around_action ` filter . Exceptions are propagated so that they can be caught in the application .
def log_request_to_google
        GoogleLogger.log_request(request, google_log_params)
        yield
      rescue StandardError => e
        GoogleLogger.log_exception(e)
        raise
      end
def log_request_to_google GoogleLogger . log_request ( request , google_log_params ) yield rescue StandardError => e GoogleLogger . log_exception ( e ) raise end
Logs the request and any uncaught exceptions, acts as an `around_action` filter.
Logs the request and any uncaught exceptions acts as an ` around_action ` filter .