[PR #2867] [CLOSED] validate cron expressions on startup #3158

Open
opened 2025-10-09 18:18:09 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dani-garcia/vaultwarden/pull/2867
Author: @stefan0xC
Created: 10/26/2022
Status: Closed

Base: mainHead: validate-config


📝 Commits (1)

  • 1d2b8c5 validate cron expressions on startup

📊 Changes

1 file changed (+21 additions, -0 deletions)

View changed files

📝 src/config.rs (+21 -0)

📄 Description

Since the current way of panicking is not very user friendly (see #2593 and #2865) I've added validations for the cron expressions so the user will know which setting is misconfigured right away.


🔄 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/2867 **Author:** [@stefan0xC](https://github.com/stefan0xC) **Created:** 10/26/2022 **Status:** ❌ Closed **Base:** `main` ← **Head:** `validate-config` --- ### 📝 Commits (1) - [`1d2b8c5`](https://github.com/dani-garcia/vaultwarden/commit/1d2b8c55398a52cc0c27030b92d0b8b6c268179c) validate cron expressions on startup ### 📊 Changes **1 file changed** (+21 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/config.rs` (+21 -0) </details> ### 📄 Description Since the current way of panicking is not very user friendly (see #2593 and #2865) I've added validations for the cron expressions so the user will know which setting is misconfigured right away. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2025-10-09 18:18:10 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/vaultwarden#3158