class HealthMonitor::Providers::Database

Public Instance Methods

check!() click to toggle source
# File lib/health_monitor/providers/database.rb, line 10
def check!
  # Check connection to the DB:
  ActiveRecord::Migrator.current_version
rescue Exception => e
  raise DatabaseException.new(e.message)
end