[CHORE] If no source was found, return -1 instead of 0 #6
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
fix
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
tom/vps-back!6
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/source-endpoint"
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?
This PR is being reviewed by Cursor Bugbot
Details
You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.
To receive Bugbot reviews on all of your PRs, please upgrade to Bugbot Pro by visiting the Cursor dashboard. Your first 14 days will be free!
@ -98,3 +98,3 @@.await.unwrap_or(0);.unwrap_or(-1);Bug: API Success Masking Database Failures
After a successful source increment, the API now returns -1 in a success response if the subsequent count query fails. This is logically inconsistent with a successful increment and creates inconsistent error handling, potentially masking an underlying database issue.