Refactor old code to properly raise Exceptions instead of returning error dictionaries #197
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Milestone
See:
blitz_api/app/bitcoind/utils.py
Line 69 in 72862f8
Example:
utils.py - redis_get():
blitz_api/app/api/utils.py
Line 57 in 72862f8
This function returns an empty string when a key is not found in Redis. This is not good. An empty string could be a valid value for a key. The caller can get confused whether the result is an error or just an empty string.
The text was updated successfully, but these errors were encountered: