diff --git a/config/application.rb b/config/application.rb index 97613f125..ccfc5e299 100644 --- a/config/application.rb +++ b/config/application.rb @@ -28,5 +28,9 @@ class Application < Rails::Application # This tells Rails to serve error pages from the app itself, rather than using static error pages in public/ config.exceptions_app = self.routes + + # Activate the Skylight agent in staging. You need to provision the + # SKYLIGHT_AUTHENTICATION env var in your OFN instance for this to work. + config.skylight.environments += ["staging"] end end