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

Added missing dependency :logger application dependency #16

Merged
merged 1 commit into from
Oct 16, 2018

Conversation

edescourtis
Copy link
Contributor

@edescourtis edescourtis commented Oct 16, 2018

In some cases :libring was started before :logger causing errors like:

=INFO REPORT==== 15-Oct-2018::21:41:03 ===
    application: libring
    exited: {bad_return,
                {{'Elixir.HashRing.App',start,[normal,[]]},
                 {'EXIT',
                     {#{'__exception__' => true,
                        '__struct__' => 'Elixir.RuntimeError',
                        message =>
                            <<"cannot use Logger, the :logger application is not running">>},
                      [{'Elixir.Logger.Config','__data__',0,
                           [{file,"lib/logger/config.ex"},{line,53}]},

In some cases :libring was started before :logger causing errors like:


=INFO REPORT==== 15-Oct-2018::21:41:03 ===
    application: libring
    exited: {bad_return,
                {{'Elixir.HashRing.App',start,[normal,[]]},
                 {'EXIT',
                     {#{'__exception__' => true,
                        '__struct__' => 'Elixir.RuntimeError',
                        message =>
                            <<"cannot use Logger, the :logger application is not running">>},
                      [{'Elixir.Logger.Config','__data__',0,
                           [{file,"lib/logger/config.ex"},{line,53}]},
@bitwalker bitwalker merged commit b70de94 into bitwalker:master Oct 16, 2018
@bitwalker
Copy link
Owner

Thanks!

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 this pull request may close these issues.

None yet

2 participants