Skip to content

fix: move date validation inside try-catch in project update#165

Merged
schpetbot merged 1 commit intomainfrom
push-nxqwroqqsyyr
Mar 5, 2026
Merged

fix: move date validation inside try-catch in project update#165
schpetbot merged 1 commit intomainfrom
push-nxqwroqqsyyr

Conversation

@schpetbot
Copy link
Copy Markdown
Collaborator

Validation errors thrown before the try block in project update were bypassing handleError, resulting in raw stack traces instead of clean error messages.

Moves the no-options check, --start-date format check, and --target-date format check inside the try block so they display consistently with other error messages.

Found during manual QA of #148.

@schpetbot schpetbot merged commit ce8585c into main Mar 5, 2026
8 checks passed
@schpetbot schpetbot deleted the push-nxqwroqqsyyr branch March 5, 2026 04:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants