[PR #2872] [CLOSED] error if DATABASE_URL can't be parsed: #3172

Closed
opened 2026-03-03 09:41:42 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dani-garcia/vaultwarden/pull/2872
Author: @vilhelmbergsoe
Created: 10/27/2022
Status: Closed

Base: mainHead: sqlite_fallback


📝 Commits (1)

  • 9a340a5 error if DATABASE_URL can't be parsed:

📊 Changes

1 file changed (+24 additions, -17 deletions)

View changed files

📝 src/db/mod.rs (+24 -17)

📄 Description

DbConnType.from_url() returns error if it fails to parse DATABASE_URL

This addresses issue #2835


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/dani-garcia/vaultwarden/pull/2872 **Author:** [@vilhelmbergsoe](https://github.com/vilhelmbergsoe) **Created:** 10/27/2022 **Status:** ❌ Closed **Base:** `main` ← **Head:** `sqlite_fallback` --- ### 📝 Commits (1) - [`9a340a5`](https://github.com/dani-garcia/vaultwarden/commit/9a340a50c7342e5df366e3b3dedfc3fc750a9529) error if DATABASE_URL can't be parsed: ### 📊 Changes **1 file changed** (+24 additions, -17 deletions) <details> <summary>View changed files</summary> 📝 `src/db/mod.rs` (+24 -17) </details> ### 📄 Description DbConnType.from_url() returns error if it fails to parse DATABASE_URL This addresses issue #2835 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 09:41:42 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vaultwarden#3172
No description provided.