Skip to content

Commit 225aaac

Browse files
committed
remove logging of expected exceptions in connection_established? method
1 parent f1fa65b commit 225aaac

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/msf/core/db_manager/connection.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,6 @@ def connection_established?
124124
ActiveRecord::Base.connection.active?
125125
}
126126
rescue ActiveRecord::ConnectionNotEstablished, PG::ConnectionBad => error
127-
elog("Connection not established: #{error.class} #{error}:\n#{error.backtrace.join("\n")}")
128-
129127
false
130128
end
131129
end

0 commit comments

Comments
 (0)