Permalink
Browse files

When reconnecting, catch anything.

  • Loading branch information...
1 parent bf2fb8d commit a0c543f77a1ee42bb6f734a32107ebb9ffd2c6aa Knut Nesheim committed Aug 29, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/eredis_client.erl
View
@@ -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.