Skip to content

Commit

Permalink
Add TODO for Finch v0.20
Browse files Browse the repository at this point in the history
  • Loading branch information
jonatanklosko committed Nov 25, 2024
1 parent cdb7228 commit ad97265
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/req/finch.ex
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,9 @@ defmodule Req.Finch do
acc = collector.(acc, :done)
{req, %{resp | body: acc}}

# TODO: call collector.(:halt) once {:error, error, acc} is
# returned on Finch v0.20

{:error, %Mint.TransportError{reason: reason}} ->
{req, %Req.TransportError{reason: reason}}

Expand Down

0 comments on commit ad97265

Please sign in to comment.