mirror of
https://github.com/jtomchak/akkoma.git
synced 2025-01-31 03:49:07 +01:00
ConnectionPool middleware: handle connection opening errors
This commit is contained in:
parent
9d6aca5bee
commit
129a2f48df
1 changed files with 3 additions and 0 deletions
|
@ -42,6 +42,9 @@ defmodule Pleroma.Tesla.Middleware.ConnectionPool do
|
||||||
ConnectionPool.release_conn(conn_pid)
|
ConnectionPool.release_conn(conn_pid)
|
||||||
err
|
err
|
||||||
end
|
end
|
||||||
|
|
||||||
|
err ->
|
||||||
|
err
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue