Skip to content

Commit

Permalink
Pass message string to raise instead of error tuple
Browse files Browse the repository at this point in the history
  • Loading branch information
Cameron-Kurth committed Jan 8, 2024
1 parent 21f404e commit 7cba537
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/zendesk/client/streamable.ex
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ defmodule Zendesk.Client.Streamable do
{:ok, result, stream} ->
{result, stream}

err ->
raise RuntimeError, message: err
{:error, message} ->
raise RuntimeError, message: message
end
end
end

0 comments on commit 7cba537

Please sign in to comment.