Skip to content

Commit

Permalink
When reconnecting, catch anything.
Browse files Browse the repository at this point in the history
  • Loading branch information
Knut Nesheim committed Aug 29, 2011
1 parent bf2fb8d commit a0c543f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/eredis_client.erl
Expand Up @@ -249,7 +249,7 @@ reconnect_loop(Client, State) ->
%% Something bad happened when connecting, like Redis might be
%% loading the dataset and we got something other than 'OK' in
%% auth or select
{'EXIT', _} ->
_ ->
timer:sleep(?RECONNECT_SLEEP),
reconnect_loop(Client, State)
end.

0 comments on commit a0c543f

Please sign in to comment.