Merge remote-tracking branch 'wchen-r7/fail_to_reload_fix'
commit
6064dfcb71
|
@ -268,6 +268,8 @@ class DBManager
|
|||
def disconnect
|
||||
begin
|
||||
ActiveRecord::Base.remove_connection
|
||||
self.migrated = false
|
||||
self.modules_cached = false
|
||||
rescue ::Exception => e
|
||||
self.error = e
|
||||
elog("DB.disconnect threw an exception: #{e}")
|
||||
|
|
Loading…
Reference in New Issue