Skip to content

Fix 500 error bugs - 2025-01-27#1108

Merged
jcscottiii merged 1 commit intomainfrom
jcscottiii/fix-500-error-2025-01-27
Jan 27, 2025
Merged

Fix 500 error bugs - 2025-01-27#1108
jcscottiii merged 1 commit intomainfrom
jcscottiii/fix-500-error-2025-01-27

Conversation

@jcscottiii
Copy link
Collaborator

This commit contains changes to fix errors during the weekly review of the 500 errors.

This week:

  • When a non date range is given for available_date, the node was nil (even though the type is not a pointer). When we tried to read GetText() of the node, it fails and returns a 500 error. This change does a nil check first.

@jcscottiii jcscottiii force-pushed the jcscottiii/fix-500-error-2025-01-27 branch from 0171141 to 7b4bd7e Compare January 27, 2025 16:38
This commit contains changes to fix errors during the weekly review of
the 500 errors.

This week:
- When a non date range is given for available_date, the node was nil (even though the type is not a pointer). When we tried to read GetText() of the node, it fails and returns a 500 error. This change does a nil check first.
@jcscottiii jcscottiii force-pushed the jcscottiii/fix-500-error-2025-01-27 branch from 7b4bd7e to 42f8c4f Compare January 27, 2025 16:40
@jcscottiii jcscottiii added this pull request to the merge queue Jan 27, 2025
Merged via the queue into main with commit c2bb9ce Jan 27, 2025
6 checks passed
@jcscottiii jcscottiii deleted the jcscottiii/fix-500-error-2025-01-27 branch January 27, 2025 18:00
@past past mentioned this pull request Jan 29, 2025
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