diff options
author | Loïc Hoguin <[email protected]> | 2019-04-26 13:35:33 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2019-04-26 13:35:33 +0200 |
commit | a943324efff332c76a9738561b42c086fd910552 (patch) | |
tree | 9f5363ee1c21debba507d06891356c0aaa974481 /src/gun.erl | |
parent | 3f3ed57a5e49a0d61644fae5556c4315e6d05506 (diff) | |
download | gun-a943324efff332c76a9738561b42c086fd910552.tar.gz gun-a943324efff332c76a9738561b42c086fd910552.tar.bz2 gun-a943324efff332c76a9738561b42c086fd910552.zip |
No longer error out when the owner exits
No need to have the error repeated in the logs by the Gun process.
Diffstat (limited to 'src/gun.erl')
-rw-r--r-- | src/gun.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gun.erl b/src/gun.erl index 7ab13c0..d8aa15b 100644 --- a/src/gun.erl +++ b/src/gun.erl @@ -1005,4 +1005,4 @@ keepalive_cancel(State=#state{keepalive_ref=KeepaliveRef}) -> owner_gone(normal) -> stop; owner_gone(shutdown) -> {stop, shutdown}; owner_gone(Shutdown = {shutdown, _}) -> {stop, Shutdown}; -owner_gone(Reason) -> {stop, {owner_gone, Reason}}. +owner_gone(Reason) -> {stop, {shutdown, {owner_gone, Reason}}}. |