Skip to content

Commit

Permalink
Description of deliver_now! error outcome fixed (#646)
Browse files Browse the repository at this point in the history
This raises an error now
  • Loading branch information
nicnilov committed Jan 6, 2023
1 parent f868812 commit 457789f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bamboo/mailer.ex
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ defmodule Bamboo.Mailer do
If successful, this function returns the `Email` struct or an `Email`,
response tuple when setting `response: true`.
On failure, this function returns an error tuple: `{:error, error}`.
On failure, this function raises an error.
"""
def deliver_now!(_email, _opts \\ []) do
raise @cannot_call_directly_error
Expand Down

0 comments on commit 457789f

Please sign in to comment.