Skip to content

Commit 840e1ed

Browse files
committed
Fix postgres test for rake db:drop (non-existing database)
1 parent f20355a commit 840e1ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/arjdbc/abstract/connection_management.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def disconnect!
4141
# DIFFERENCE: we delve into jdbc shared code and this does self.class.new_client.
4242
def connect
4343
@raw_connection = self.class.new_client(@connection_parameters, self)
44-
rescue ConnectionNotEstablished => ex
44+
rescue ActiveRecord::ConnectionNotEstablished => ex
4545
raise ex.set_pool(@pool)
4646
end
4747

0 commit comments

Comments
 (0)