Make errors from updateUsageData(...) crash when running in non-prod to ensure they're detected/handled before deployment

This commit is contained in:
David Dworken
2023-09-17 12:03:42 -07:00
parent 60406916e9
commit 04a0fc40cd
3 changed files with 13 additions and 16 deletions

View File

@ -186,4 +186,3 @@ func main() {
}
// TODO(optimization): Maybe optimize the endpoints a bit to reduce the number of round trips required?
// TODO: Add error checking for the calls to updateUsageData(...) that logs it/triggers an alert in prod, but is an error in test