Skip to content

Commit

Permalink
Fix logger statmenet
Browse files Browse the repository at this point in the history
  • Loading branch information
maniSHarma7575 committed Apr 28, 2024
1 parent bda2cd2 commit 747e0a0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def initialize(...)
FileUtils.mkdir_p(dirname)
username = Etc.getpwuid(File.stat(dirname).uid).name
puts "Inside Adapter Print the owner for: #{dirname} - #{username}"
rescue SystemCallError => error
rescue SystemCallError
raise ActiveRecord::NoDatabaseError.new(connection_pool: @pool)
end
end
Expand Down

0 comments on commit 747e0a0

Please sign in to comment.