Changelog

Improving AppSignal, one deploy at a time.

Mar 20, 2025

Add method to raise error if AppSignal is not started

Ruby4.5.7

Added

  • Add the Appsignal.config_error and Appsignal.config_error? methods. This method contains any error that may have occurred while loading the config/appsignal.rb file. If it is nil no error occurred or Appsignal.start hasn't been called yet. The Appsignal.config_error? method is an alias for syntax sugar.

  • Add the check_if_started! method. This method will raise an error if the AppSignal Ruby gem failed to start.

    Call this method in your CI or on app boot if you wish to verify that AppSignal has started when your application does, and want the application to fail to start if AppSignal hasn't started.

    For example, in this Rails initializer:

    Ruby
    # config/initializers/appsignal.rb Appsignal.check_if_started!

View the Ruby gem v4.5.7 changelog for more information.

View all Ruby updates

Start your free trial

Don’t let the bad bugs bite. Try AppSignal for free.

AppSignal offers a 30-day free trial, no credit card is required. All features are available in all plans. Start monitoring your application in just a few clicks!