mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-07-17 17:32:27 -05:00
[PR #3092] [MERGED] Optimize config loading messages #6856
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/3092
Author: @BlackDex
Created: 1/2/2023
Status: ✅ Merged
Merged: 1/9/2023
Merged by: @dani-garcia
Base:
main← Head:optimize-config-loading-messages📝 Commits (1)
5964dc9Optimize config loading messages📊 Changes
1 file changed (+22 additions, -9 deletions)
View changed files
📝
src/config.rs(+22 -9)📄 Description
As kinda discussed here #3090, the messages regarding loading the configuration files is a bit strange or unclear. There have been some other reports regarding this in the past, but wasn't that big a of a deal.
But to make the whole process it bit more nice, this PR adjusts the way it reports issues and some small changes to the messages to make it all a bit more clear.
.envfile, but only send a message when using one..env.config.json. This makes it consistent with the info message for loading the env file.Resolves #3090
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.