Fix MRF policies to also work with Update
[akkoma] / lib / pleroma / tesla / middleware / connection_pool.ex
index 2c5a2b53be0e60d2237a57f6e2441960b9455f03..906706d39a45b1817782e08ab38a7b21ab76e138 100644 (file)
@@ -1,5 +1,5 @@
 # Pleroma: A lightweight social networking server
-# Copyright © 2020 Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-2021 Pleroma Authors <https://pleroma.social/>
 # SPDX-License-Identifier: AGPL-3.0-only
 
 defmodule Pleroma.Tesla.Middleware.ConnectionPool do
@@ -42,6 +42,9 @@ defmodule Pleroma.Tesla.Middleware.ConnectionPool do
             ConnectionPool.release_conn(conn_pid)
             err
         end
+
+      err ->
+        err
     end
   end
 end