From 5bbc5999d78fb9d687453204374491ffb9452f90 Mon Sep 17 00:00:00 2001 From: Nuwan Date: Tue, 7 Dec 2021 19:35:32 +0530 Subject: [PATCH] change of logging to bugsnag /search_users --- web/app/controllers/api_search_controller.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/app/controllers/api_search_controller.rb b/web/app/controllers/api_search_controller.rb index 0afec9926..34a4976c8 100644 --- a/web/app/controllers/api_search_controller.rb +++ b/web/app/controllers/api_search_controller.rb @@ -112,8 +112,9 @@ class ApiSearchController < ApiController Rails.logger.info "*" * 50 Rails.logger.info bm - Bugsnag.notify("benchmark neo4j: " + bm.to_s) do |report| + Bugsnag.notify("search_users_benchmark") do |report| report.severity = "info" + report.add_tab(:benchmark, benchmark: bm.to_s) end #debugger