Skip to content

Error when using doc_connect #109

@diogomrts

Description

@diogomrts

When trying to use doc_connect this error is thrown:

** (ArgumentError) errors were found at the given arguments:

  * 1st argument: the device does not exist

    (stdlib 4.3.1.4) io.erl:94: :io.put_chars(nil, ["* __Receive:__ ok", 10])
    (bureaucrat 0.2.10) lib/bureaucrat/markdown_writer.ex:219: Bureaucrat.MarkdownWriter.puts/2
    (elixir 1.16.3) lib/enum.ex:987: Enum."-each/2-lists^foreach/1-0-"/2
    (elixir 1.16.3) lib/enum.ex:1708: anonymous fn/3 in Enum.map/2
    (stdlib 4.3.1.4) maps.erl:411: :maps.fold_1/3
    (elixir 1.16.3) lib/enum.ex:2540: Enum.map/2
    (bureaucrat 0.2.10) lib/bureaucrat/formatter.ex:22: Bureaucrat.Formatter.suite_finished/0
    (stdlib 4.3.1.4) gen_server.erl:1123: :gen_server.try_dispatch/4
    (stdlib 4.3.1.4) gen_server.erl:1200: :gen_server.handle_msg/6
    (stdlib 4.3.1.4) proc_lib.erl:240: :proc_lib.init_p_do_apply/3

These are my settings:

Bureaucrat.start(
  writer: Bureaucrat.MarkdownWriter,
  default_path: "priv/static/doc/websockets.md",
  paths: [],
  titles: [],
  env_var: "DOC",
  json_library: Jason
)

The asserts piped into docs() work normally, and I tried using Jason and Poison

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions