mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-03-12 01:45:56 -05:00
[PR #1212] [MERGED] Added error handling during dotenv loading #2779
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/1212
Author: @BlackDex
Created: 10/31/2020
Status: ✅ Merged
Merged: 11/14/2020
Merged by: @dani-garcia
Base:
master← Head:dotenv-warnings📝 Commits (1)
d11d663Added error handling during dotenv loading📊 Changes
1 file changed (+26 additions, -1 deletions)
View changed files
📝
src/config.rs(+26 -1)📄 Description
Some issue people report are because of misconfiguration or bad .env
files. To mittigate this i added error handling for this.
This partially fixes #1196 by reporting the line regarding spaces.
Solving that ticket by allowing spaces would be difficult from within
bitwarden_rs it self.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.