change of logging to bugsnag /search_users

This commit is contained in:
Nuwan 2021-12-07 19:35:32 +05:30
parent 4eb009d76d
commit 5bbc5999d7
1 changed files with 2 additions and 1 deletions

View File

@ -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