Class: Hooks::Plugins::Instruments::Failbot

Inherits:
FailbotBase
  • Object
show all
Defined in:
lib/hooks/plugins/instruments/failbot.rb

Overview

Default failbot instrument implementation

This is a no-op implementation that provides the error reporting interface without actually sending errors anywhere. It serves as a safe default when no custom error reporting implementation is configured.

Users should replace this with their own implementation for services like Sentry, Rollbar, Honeybadger, etc.

Examples:

Replacing with a custom implementation

# In your application initialization:
custom_failbot = MySentryFailbotImplementation.new
Hooks::Core::GlobalComponents.failbot = custom_failbot

See Also:

Method Summary

Methods inherited from FailbotBase

#report, #warn

Methods included from Core::ComponentAccess

#failbot, #log, #method_missing, #respond_to_missing?, #stats

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Hooks::Core::ComponentAccess