Skip to content

Missing Finance Hearing Config Handling#169

Merged
calebyhan merged 1 commit into
mainfrom
152/missing-finance-hearing-config
Jun 5, 2026
Merged

Missing Finance Hearing Config Handling#169
calebyhan merged 1 commit into
mainfrom
152/missing-finance-hearing-config

Conversation

@calebyhan

Copy link
Copy Markdown
Contributor

The /api/finance-hearings endpoint returns a 404 when no configuration row has been seeded in the database. The home page currently treats this as an error and displays "Unable to load finance hearing information. Please try again." — which is misleading since the absence of a config is a valid state (hearings season hasn't been configured yet).

Changes:

  • catch apierror and just show output

Closes #152

@github-actions

github-actions Bot commented Jun 4, 2026

Copy link
Copy Markdown

Test Results

570 tests  ±0   570 ✅ ±0   47s ⏱️ +11s
  1 suites ±0     0 💤 ±0 
  1 files   ±0     0 ❌ ±0 

Results for commit ccefb22. ± Comparison against base commit 9c5c50a.

@MasonMines2006 MasonMines2006 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM i trust

@MasonMines2006 MasonMines2006 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM now fr

@calebyhan calebyhan merged commit 9a84058 into main Jun 5, 2026
3 checks passed
@calebyhan calebyhan deleted the 152/missing-finance-hearing-config branch June 5, 2026 22:17
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.

Missing Finance Hearing Config Handling

2 participants