projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
OpenAPI: remove accidentally pasted buffer data
[akkoma]
/
lib
/
pleroma
/
gun
/
connection_pool.ex
diff --git
a/lib/pleroma/gun/connection_pool.ex
b/lib/pleroma/gun/connection_pool.ex
index d3eead7d8be841b0dc15e9640404b022bdfe1f92..8b41a668c0268c504ec55ddc05bbb7545aedcffe 100644
(file)
--- a/
lib/pleroma/gun/connection_pool.ex
+++ b/
lib/pleroma/gun/connection_pool.ex
@@
-53,7
+53,10
@@
defmodule Pleroma.Gun.ConnectionPool do
{:ok, pid}
{:DOWN, ^ref, :process, ^worker_pid, reason} ->
{:ok, pid}
{:DOWN, ^ref, :process, ^worker_pid, reason} ->
- {:error, reason}
+ case reason do
+ {:shutdown, error} -> error
+ _ -> {:error, reason}
+ end
end
end
end
end