Skip to content

Commit

Permalink
directly raise
Browse files Browse the repository at this point in the history
  • Loading branch information
MatheusBueno782 committed Nov 17, 2020
1 parent a91b9a8 commit e5b8c9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bamboo/adapters/smtp_adapter.ex
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ defmodule Bamboo.SMTPAdapter do
|> config[:transport].send_blocking(gen_smtp_config)
catch
e ->
raise SMTPError, {:not_specified, detail}
raise SMTPError, {:not_specified, e}
end

handle_response(response)
Expand Down

0 comments on commit e5b8c9f

Please sign in to comment.