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

Just log a warning when trying automatic login, but nodecg-io is already loaded #385

Merged
merged 1 commit into from
Dec 25, 2021

Conversation

hlxid
Copy link
Member

@hlxid hlxid commented Dec 22, 2021

Fixes #365.

If automatic login fails and nodecg-io is not loaded afterwards this will still display a error. This happens when e.g. the password set in the automatic login config is wrong.
However if automatic login fails and nodecg-io is loaded afterwards just a warning will be logged with this PR. This is the case when the dashboard reconnects after a restart and loggs back in.

…ady loaded

Fixes #365.
If automatic login fails and nodecg-io is not loaded afterwards this will still display a error. This happens when e.g. the password set in the automatic login config is wrong.
However if automatic login fails and nodecg-io is loaded afterwards just a warning will be logged with this PR. This is the case when the dashboard reconnects after a restart and loggs back in.
@hlxid hlxid merged commit 4993c8c into main Dec 25, 2021
@hlxid hlxid deleted the fix/365-already-logged-in-warning branch December 25, 2021 18:45
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.

Use of error in nodecg-io-core where warning is appropriate
1 participant