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

AdaptorService crashes if there are no adaptors #34

Open
stuartc opened this issue Oct 14, 2021 · 0 comments
Open

AdaptorService crashes if there are no adaptors #34

stuartc opened this issue Oct 14, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@stuartc
Copy link
Member

stuartc commented Oct 14, 2021

** (Mix) Could not start application open_fn: OpenFn.start(:normal, []) returned an error: shutdown: failed to start child: Engine.Adaptor.Service
    ** (EXIT) an exception was raised:
        ** (File.Error) could not read file "package.json": no such file or directory
            (elixir 1.11.4) lib/file.ex:355: File.read!/1
            (engine 0.3.1) lib/engine/adaptor/repo.ex:12: anonymous fn/1 in Engine.Adaptor.Repo.list_local/2
            (elixir 1.11.4) lib/enum.ex:1411: Enum."-map/2-lists^map/1-0-"/2
            (engine 0.3.1) lib/engine/adaptor/service.ex:85: Engine.Adaptor.Service.State.refresh_list/1
            (engine 0.3.1) lib/engine/adaptor/service.ex:98: Engine.Adaptor.Service.start_link/1
            (stdlib 3.14.2.2) supervisor.erl:385: :supervisor.do_start_child_i/3
            (stdlib 3.14.2.2) supervisor.erl:371: :supervisor.do_start_child/2
            (stdlib 3.14.2.2) supervisor.erl:355: anonymous fn/3 in :supervisor.start_children/2

@stuartc stuartc added the bug Something isn't working label Oct 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant