Sha256: dddec1e256ac3ca257185f86c7b07801d44bcd23a9aee23b6e3822c8f2a08bf4

Contents?: true

Size: 375 Bytes

Versions: 17

Compression:

Stored size: 375 Bytes

Contents

if defined?(RuntimeerrorNotifier)
  # Get your secret email address from RuntimeError.net and
  # 1. Set it as environment variable RUNTIMEERROR_EMAIL (preferred method)
  # 2. OR, change the value (legacy method)
  RuntimeerrorNotifier.for ENV['RUNTIMEERROR_EMAIL']

  RuntimeerrorNotifier::Notifier::IGNORED_EXCEPTIONS.push(*%w[
    ActionController::RoutingError
  ])
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
runtimeerror_notifier-0.0.27 lib/generators/runtimeerror_notifier/templates/initializer.rb
runtimeerror_notifier-0.0.26 lib/generators/runtimeerror_notifier/templates/initializer.rb
runtimeerror_notifier-0.0.25 lib/generators/runtimeerror_notifier/templates/initializer.rb
runtimeerror_notifier-0.0.24 lib/generators/runtimeerror_notifier/templates/initializer.rb
runtimeerror_notifier-0.0.23 lib/generators/runtimeerror_notifier/templates/initializer.rb
runtimeerror_notifier-0.0.22 lib/generators/runtimeerror_notifier/templates/initializer.rb
runtimeerror_notifier-0.0.21 lib/generators/runtimeerror_notifier/templates/initializer.rb
runtimeerror_notifier-0.0.20 lib/generators/runtimeerror_notifier/templates/initializer.rb
runtimeerror_notifier-0.0.19 lib/generators/runtimeerror_notifier/templates/initializer.rb
runtimeerror_notifier-0.0.18 lib/generators/runtimeerror_notifier/templates/initializer.rb
runtimeerror_notifier-0.0.17 lib/generators/runtimeerror_notifier/templates/initializer.rb
runtimeerror_notifier-0.0.15 lib/generators/runtimeerror_notifier/templates/initializer.rb
runtimeerror_notifier-0.0.14 lib/generators/runtimeerror_notifier/templates/initializer.rb
runtimeerror_notifier-0.0.13 lib/generators/runtimeerror_notifier/templates/initializer.rb
runtimeerror_notifier-0.0.12 lib/generators/runtimeerror_notifier/templates/initializer.rb
runtimeerror_notifier-0.0.11 lib/generators/runtimeerror_notifier/templates/initializer.rb
runtimeerror_notifier-0.0.10 lib/generators/runtimeerror_notifier/templates/initializer.rb