Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Relays related error crashes #1314

Closed
vanstee opened this issue Jan 19, 2017 · 0 comments
Closed

No Relays related error crashes #1314

vanstee opened this issue Jan 19, 2017 · 0 comments
Assignees
Labels

Comments

@vanstee
Copy link
Member

vanstee commented Jan 19, 2017

If you try to run a command in a bundle assigned to a relay group that contains a relay that isn't currently running you'll receive the following stacktrace from the executor. Seems like a simple function head went missing.

** (FunctionClauseError) no function clause matching in Cog.Pipeline.Errors.lookup/1
    (cog) lib/cog/pipeline/errors.ex:7: Cog.Pipeline.Errors.lookup(%Cog.Pipeline.DoneSignal{bundle_version_id: nil, error: {:error, :no_relays}, invocation: nil, template: nil})
    (cog) lib/cog/pipeline/error_sink.ex:131: Cog.Pipeline.ErrorSink.prepare_error_context/2
    (cog) lib/cog/pipeline/error_sink.ex:108: Cog.Pipeline.ErrorSink.send_to_adapter/3
    (elixir) lib/enum.ex:657: anonymous fn/3 in Enum.each/2
    (stdlib) lists.erl:1263: :lists.foldl/3
    (elixir) lib/enum.ex:656: Enum.each/2
    (elixir) lib/enum.ex:651: Enum."-each/2-lists^foreach/1-0-"/2
    (elixir) lib/enum.ex:651: Enum.each/2
@vanstee vanstee added the cog label Jan 19, 2017
@vanstee vanstee added this to the Cog 1.0 milestone Jan 19, 2017
@vanstee vanstee added the bug label Jan 19, 2017
@vanstee vanstee self-assigned this Jan 19, 2017
@vanstee vanstee added the review label Jan 19, 2017
@vanstee vanstee removed the review label Jan 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant