Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Made it so that normal connection disconnects are not reported as cra…


Servers should not be disconnecting clients but this bug caused a confusing
error message to be logged
  • Loading branch information...
commit 43cf5cc8b1d6b4a4626c9e2a46abcdcf79dd83f3 1 parent fb4b36a
Eric Moritz authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  src/wsdemo_stats.erl
2  src/wsdemo_stats.erl
@@ -73,6 +73,8 @@ handle_info({'EXIT', _Pid, Reason},State) ->
case Reason of
connection_timeout ->
folsom_metrics:notify({connection_timeouts,{inc, 1}});
+ normal ->
+ pass;
_ ->
error_logger:error_msg("~s: ~p~n", ["Crash", Reason]),
folsom_metrics:notify({crashes,{inc, 1}})
Please sign in to comment.
Something went wrong with that request. Please try again.