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

Catch exception when overwriting config #11

Merged
merged 1 commit into from
Aug 17, 2019

Conversation

nyanloutre
Copy link
Contributor

In some cases overwriting the config might be impossible, I thought it shouldn't
crash mautrix in such cases but only issue a warning in the logs. The base config
would still be merged in memory so it shouldn't be functionally different.

Also when overwriting, if the base config ever change, those changes will not be
propagated in the user config as older options from the previous base config would
already be present.

Copy link
Member

@tulir tulir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

@tulir tulir merged commit da74a74 into mautrix:master Aug 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants