Commit 5aba8fca authored by gubala's avatar gubala

more pometheus debugs

parent 536c7c14
Pipeline #11 skipped
......@@ -58,8 +58,8 @@ class User < ActiveRecord::Base
Rails.logger.info "PROM DIR CHECK: #{test} (the test took: #{Time.now - t})"
user.prometheus_enabled = test
end
rescue GFTP::GlobusError => error
Rails.logger.info "PROM DIR CHECK: false (the test took: #{Time.now - t})"
rescue StandardError => error
Rails.logger.info "PROM DIR CHECK: false (the test took: #{Time.now - t}). Error:"
Rails.logger.warn error
user.prometheus_enabled = false
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment