{"action":"reopened","issue":{"url":"https://api.github.com/repos/exponentially/extreme/issues/3","repository_url":"https://api.github.com/repos/exponentially/extreme","labels_url":"https://api.github.com/repos/exponentially/extreme/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/exponentially/extreme/issues/3/comments","events_url":"https://api.github.com/repos/exponentially/extreme/issues/3/events","html_url":"https://github.com/exponentially/extreme/issues/3","id":132217003,"number":3,"title":"subscribe to deleted stream error","user":{"login":"revati","id":350991,"avatar_url":"https://avatars.githubusercontent.com/u/350991?v=3","gravatar_id":"","url":"https://api.github.com/users/revati","html_url":"https://github.com/revati","followers_url":"https://api.github.com/users/revati/followers","following_url":"https://api.github.com/users/revati/following{/other_user}","gists_url":"https://api.github.com/users/revati/gists{/gist_id}","starred_url":"https://api.github.com/users/revati/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/revati/subscriptions","organizations_url":"https://api.github.com/users/revati/orgs","repos_url":"https://api.github.com/users/revati/repos","events_url":"https://api.github.com/users/revati/events{/privacy}","received_events_url":"https://api.github.com/users/revati/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/exponentially/extreme/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"mjaric","id":327155,"avatar_url":"https://avatars.githubusercontent.com/u/327155?v=3","gravatar_id":"","url":"https://api.github.com/users/mjaric","html_url":"https://github.com/mjaric","followers_url":"https://api.github.com/users/mjaric/followers","following_url":"https://api.github.com/users/mjaric/following{/other_user}","gists_url":"https://api.github.com/users/mjaric/gists{/gist_id}","starred_url":"https://api.github.com/users/mjaric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjaric/subscriptions","organizations_url":"https://api.github.com/users/mjaric/orgs","repos_url":"https://api.github.com/users/mjaric/repos","events_url":"https://api.github.com/users/mjaric/events{/privacy}","received_events_url":"https://api.github.com/users/mjaric/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2016-02-08T18:05:24Z","updated_at":"2016-02-11T13:19:59Z","closed_at":null,"body":"When subscribing with `Extreme.read_and_stay_subscribed` to non existing stream stream, it seems it has some internal bug?\r\n\r\n```\r\n[error] GenServer #PID<0.316.0> terminating\r\n** (FunctionClauseError) no function clause matching in Extreme.Subscription.process_response/2\r\n    (extreme) lib/subscription.ex:65: Extreme.Subscription.process_response({:error, :StreamDeleted, %Extreme.Messages.ReadStreamEventsCompleted{error: \"\", events: [], is_end_of_stream: true, last_commit_position: 45902490, last_event_number: 2147483647, next_event_number: -1, result: :StreamDeleted}}, %{buffered_messages: [], connection: #PID<0.296.0>, read_params: %{from_event_number: 0, per_page: 4096, require_master: false, resolve_link_tos: true, stream: \"Domain.Acl.AclAggregate\"}, read_until: 2147483648, status: :reading_events, subscriber: Domain.Acl.AclAggregate})\r\n    (extreme) lib/subscription.ex:48: Extreme.Subscription.handle_cast/2\r\n    (stdlib) gen_server.erl:615: :gen_server.try_dispatch/4\r\n    (stdlib) gen_server.erl:681: :gen_server.handle_msg/5\r\n    (stdlib) proc_lib.erl:240: :proc_lib.init_p_do_apply/3\r\nLast message: {:\"$gen_cast\", :read_events}\r\nState: %{buffered_messages: [], connection: #PID<0.296.0>, read_params: %{from_event_number: 0, per_page: 4096, require_master: false, resolve_link_tos: true, stream: \"Domain.Acl.AclAggregate\"}, read_until: 2147483648, status: :reading_events, subscriber: Domain.Acl.AclAggregate}\r\n```"}}