Skip to content
This repository was archived by the owner on Aug 18, 2020. It is now read-only.

Conversation

@hlxid
Copy link
Member

@hlxid hlxid commented Jun 12, 2019

On the first start the default config should be saved, which fails if the folder doesn't exist. This creates a problem when you try to login to the gui. The framework can't be loaded because the config with plugins and connectors don't exist and you won't be able to login, until you create the config directory and restart.

A check for the config dir was in the Bootstrap Launcher, but when you run Chat Overflow in IntelliJ that check isn't working. So I added that check in the main framework.

…Bootstrap Launcher

On the first start the default config should be saved, which fails if the folder doesn't exist.
This creates a problem when you try to login to the gui.
The framework can't be loaded because the config with plugins and connectors
don't exist and you won't be able to login, until you create the config directory and restart.

A check for the config dir was in the Bootstrap Launcher, but when
 you run Chat Overflow in IntelliJ that check isn't working.
So I added that check in the main framework.
@sebinside
Copy link
Member

Note: This check also exists in the CredentialsService, but checking two times is probably more failure resistant.

@sebinside sebinside merged commit c028b72 into codeoverflow-org:master Jun 12, 2019
@hlxid hlxid deleted the create-config-dir branch July 25, 2019 18:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants