Commit 45be1fe0 authored by rinpatch's avatar rinpatch

ConnectionPool: fix gun open errors being returned without an error tuple

When gun shuts down due to the host being unreachable, the worker
process shuts down with the same shutdown reason since they are linked.
Gun doesn't have error tuples in it's shutdown reason though, so we need
to handle it in get_conn.

Closes #2008
parent 3a6a4dd7
Pipeline #29300 passed with stages
in 14 minutes and 47 seconds