diff options
Diffstat (limited to 'deps/rabbit/src/rabbit_fifo.erl')
-rw-r--r-- | deps/rabbit/src/rabbit_fifo.erl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/deps/rabbit/src/rabbit_fifo.erl b/deps/rabbit/src/rabbit_fifo.erl index 6232a21574..37aece9d6c 100644 --- a/deps/rabbit/src/rabbit_fifo.erl +++ b/deps/rabbit/src/rabbit_fifo.erl @@ -512,6 +512,10 @@ apply(Meta, #update_config{config = Conf}, State) -> checkout(Meta, State, update_config(Conf, State), []); apply(_Meta, {machine_version, 0, 1}, V0State) -> State = convert_v0_to_v1(V0State), + {State, ok, []}; +apply(_Meta, Cmd, State) -> + %% handle unhandled commands gracefully + rabbit_log:debug("rabbit_fifo: unhandled command ~W", [Cmd, 10]), {State, ok, []}. convert_v0_to_v1(V0State0) -> |