mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-11 09:13:02 +03:00
[PR #2867] [CLOSED] validate cron expressions on startup #3158
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/2867
Author: @stefan0xC
Created: 10/26/2022
Status: ❌ Closed
Base:
main← Head:validate-config📝 Commits (1)
1d2b8c5validate 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.