Skip to content

Return empty success payloads on query errors - #114

Merged
goldlabelapps merged 1 commit into
masterfrom
staging
Aug 10, 2026
Merged

Return empty success payloads on query errors#114
goldlabelapps merged 1 commit into
masterfrom
staging

Conversation

@goldlabelapps

Copy link
Copy Markdown
Owner

Updated orders, prospects, and queue read endpoints to fail gracefully by returning successful metadata with empty/default data instead of error responses. The changes also guard DB cleanup by initializing conn/cur to None and only closing them when created, preventing secondary exceptions during teardown.

Updated orders, prospects, and queue read endpoints to fail gracefully by returning successful metadata with empty/default data instead of error responses. The changes also guard DB cleanup by initializing `conn`/`cur` to `None` and only closing them when created, preventing secondary exceptions during teardown.
@goldlabelapps
goldlabelapps merged commit a89ae96 into master Aug 10, 2026
1 check passed
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.

1 participant