```ruby
module Delayed
  module Plugins
    class ExceptionNotifier < Plugin
      module Notify
        def error(job, exception)
          ::ExceptionNotifier::Notifier.background_exception_notification(exception).deliver
          super
        end
      end

      callbacks do |lifecycle|
        lifecycle.before(:invoke_job) do |job|
          payload = job.payload_object
          payload = payload.object if payload.is_a? Delayed::PerformableMethod
          payload.extend Notify
        end
      end
    end
  end
end
```

Call super only if it's defined
user
```ruby
module Delayed
  module Plugins
    class ExceptionNotifier < Plugin
      module Notify
        def error(job, exception)
          ::ExceptionNotifier::Notifier.background_exception_notification(exception).deliver
          super if defined?(super)
        end
      end

      callbacks do |lifecycle|
        lifecycle.before(:invoke_job) do |job|
          payload = job.payload_object
          payload = payload.object if payload.is_a? Delayed::PerformableMethod
          payload.extend Notify
        end
      end
    end
  end
end
```
assistant