Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:20
turtle
0027-turtle_subscriber-add-missed-clause-to-han...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0027-turtle_subscriber-add-missed-clause-to-handle_comman.patch of Package turtle
From 37175283e9915e25668efaee3edf823ad8f87750 Mon Sep 17 00:00:00 2001 From: Led <ledest@gmail.com> Date: Fri, 25 Jan 2019 16:58:56 +0200 Subject: [PATCH] turtle_subscriber: add missed clause to handle_commands/3 --- src/turtle_subscriber.erl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/turtle_subscriber.erl b/src/turtle_subscriber.erl index 5e12bd1..0f6a276 100644 --- a/src/turtle_subscriber.erl +++ b/src/turtle_subscriber.erl @@ -223,6 +223,7 @@ handle_exception(Class, Error, DTag, #state{ channel = Ch } = State) -> amqp_channel:call(Ch, #'basic.reject' { delivery_tag = DTag, requeue = false }), {stop, {Class, Error}, State}. +handle_commands(_S, [], State) -> {noreply, State}; handle_commands(S, [C | Next], #state { channel = Channel, conn_name = CN, name = N } = State) -> case C of {ack, Tag} -> -- 2.16.4
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor