Sensu core custom handler stops working

I am using sensu-core
this is my custom handler
“influxdb2-debug”: {
“type”: “pipe”,
“mutator”: “influxdb_line_protocol”,
“command”: “/etc/sensu/handlers/influx-debug.rb”
},

this is influx-deug.rb for testing
#!/usr/bin/env ruby

require ‘rubygems’ if RUBY_VERSION < ‘1.9.0’
require ‘sensu-handler’

class InfluxDBHandler < Sensu::Handler
def handle
puts “===== Handler Executed Successfully =====”
end
end

i can see this in mutator logs when i restart sensu-server, for sometime. And stops after it. Not sure of the reason, nothing in logs.