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

Chat handle creation erroneous error #1049

Closed
0xdiba opened this issue Oct 14, 2016 · 0 comments · Fixed by #1058
Closed

Chat handle creation erroneous error #1049

0xdiba opened this issue Oct 14, 2016 · 0 comments · Fixed by #1058
Assignees
Milestone

Comments

@0xdiba
Copy link

0xdiba commented Oct 14, 2016

When trying to create a chat handle that is not present in the slack organisation the following error is returned:

cogctl chat-handles create --user user --handle user --chat-provider slack              
** (FunctionClauseError) no function clause matching in Access.fetch/2
   (elixir) lib/access.ex:147: Access.fetch("Server internal error", "errors")
   (elixir) lib/access.ex:179: Access.get/3
   (cogctl) lib/cogctl/actions/chat_handles/create.ex:22: Cogctl.Actions.ChatHandles.Create.do_create/2
   (cogctl) lib/cogctl.ex:20: Cogctl.main/1
   (elixir) lib/kernel/cli.ex:76: anonymous fn/3 in Kernel.CLI.exec_fun/2 

A more descriptive error should be returned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants