ConnectionPool middleware: handle connection opening errors

This commit is contained in:
rinpatch 2020-09-05 21:36:17 +03:00
parent 9d6aca5bee
commit 129a2f48df

View File

@ -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