class ZuoraConnect::StaticController

def health

def health
  if params[:error].present?
    begin 
      raise ZuoraConnect::Exceptions::Error.new('This is an error')
    rescue => ex
      case params[:error]
      when 'Log'  
        Rails.logger.error(ex)
      when 'Exception'
        raise
      end
    end
  end
  render json: {
    message: "Alive",
    status: 200
  }, status: 200
end