1
0
مراية لـ https://github.com/postalserver/postal.git تم المزامنة 2025-12-01 05:43:04 +00:00

style(rubocop): Lint/ShadowedException

هذا الالتزام موجود في:
Adam Cooke
2024-02-10 17:21:54 +00:00
الأصل 389ea77050
التزام 0966b44018

عرض الملف

@@ -19,6 +19,8 @@ begin
end
puts "\e[32mMessage has been sent successfully.\e[0m"
rescue Timeout::Error
puts "Sending timed out"
rescue StandardError => e
puts "\e[31mMessage was not delivered successfully to SMTP server.\e[0m"
puts "Error: #{e.class} (#{e.message})"
@@ -28,6 +30,4 @@ rescue StandardError => e
puts " SMTP Username: #{Postal.config.smtp.username}"
puts " SMTP Password: #{Postal.config.smtp.password}"
puts
rescue Timeout::Error
puts "Sending timed out"
end