Skip to content

Commit

Permalink
Remove logger statements
Browse files Browse the repository at this point in the history
  • Loading branch information
maniSHarma7575 committed Apr 28, 2024
1 parent 747e0a0 commit 45aa5e4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
Expand Up @@ -113,8 +113,6 @@ def initialize(...)
unless File.directory?(dirname)
begin
FileUtils.mkdir_p(dirname)
username = Etc.getpwuid(File.stat(dirname).uid).name
puts "Inside Adapter Print the owner for: #{dirname} - #{username}"
rescue SystemCallError
raise ActiveRecord::NoDatabaseError.new(connection_pool: @pool)
end
Expand Down
Expand Up @@ -27,8 +27,6 @@ def test_bad_connection
Dir.mktmpdir do |dir|
File.chmod(0x000, dir)
db_path = File.join(dir, "_exist/db/-cinco-dog.sqlite3")
username = Etc.getpwuid(File.stat(dir).uid).name
puts "Print the owner for directory: #{dir} - #{username}"
error = assert_raise ActiveRecord::NoDatabaseError do
connection = SQLite3Adapter.new(adapter: "sqlite3", database: db_path)
connection.drop_table "ex", if_exists: true
Expand Down

0 comments on commit 45aa5e4

Please sign in to comment.