Better log bytestream termination

This commit is contained in:
Evgeniy Khramtsov 2017-01-17 23:06:55 +03:00
parent 9021ba01ac
commit 7b8c01da12
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ terminate(_Reason, StateName, #state{sha1 = SHA1}) ->
Mod = gen_mod:ram_db_mod(global, mod_proxy65),
Mod:unregister_stream(SHA1),
if StateName == stream_established ->
?INFO_MSG("Bytestream terminated", []);
?INFO_MSG("(~w) Bytestream terminated", [self()]);
true -> ok
end.