Sha256: 85b2f093c85234acc1ed32458c5b25b2c2e4ecd6e3ca19a64baeba08024ef33f
Contents?: true
Size: 589 Bytes
Versions: 89
Compression:
Stored size: 589 Bytes
Contents
require 'honeybadger/plugin' require 'honeybadger/agent' module Honeybadger module Plugins module Passenger Plugin.register do requirement { defined?(::PhusionPassenger.on_event) } execution do ::PhusionPassenger.on_event(:starting_worker_process) do |forked| logger.debug('Starting passenger worker process') end ::PhusionPassenger.on_event(:stopping_worker_process) do logger.debug('Stopping passenger worker process') Honeybadger.stop end end end end end end
Version data entries
89 entries across 89 versions & 1 rubygems