diff --git a/lib/Config.rb b/lib/Config.rb index 698efe1..d2b02a9 100644 --- a/lib/Config.rb +++ b/lib/Config.rb @@ -159,7 +159,6 @@ module MPW return true rescue Exception => e - puts e @error_msg = "#{I18n.t('error.config.check')}\n#{e}" return false end diff --git a/lib/Sync/SSH.rb b/lib/Sync/SSH.rb index ddb00b5..632e292 100644 --- a/lib/Sync/SSH.rb +++ b/lib/Sync/SSH.rb @@ -48,8 +48,6 @@ module MPW def get(file_tmp) return false if not @enable - puts @path - puts file_tmp Net::SFTP.start(@host, @user, password: @password, port: @port) do |sftp| sftp.lstat(@path) do |response| sftp.download!(@path, file_tmp) if response.ok?