From: rinpatch Date: Sat, 5 Sep 2020 18:36:17 +0000 (+0300) Subject: ConnectionPool middleware: handle connection opening errors X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=129a2f48df95ddd85fceee741a9991a6e092ed3d;p=akkoma ConnectionPool middleware: handle connection opening errors --- diff --git a/lib/pleroma/tesla/middleware/connection_pool.ex b/lib/pleroma/tesla/middleware/connection_pool.ex index 2c5a2b53b..056e736ce 100644 --- a/lib/pleroma/tesla/middleware/connection_pool.ex +++ b/lib/pleroma/tesla/middleware/connection_pool.ex @@ -42,6 +42,9 @@ defmodule Pleroma.Tesla.Middleware.ConnectionPool do ConnectionPool.release_conn(conn_pid) err end + + err -> + err end end end