[barcode] small fix
This commit is contained in:
parent
6ee8c68746
commit
969b57e993
2 changed files with 1 additions and 5 deletions
|
@ -1,9 +1,6 @@
|
|||
# FOODER
|
||||
|
||||
Simple API for food diary application. It uses FastAPI and async postgres for faster operation.
|
||||
|
||||
I plan on developing a few clients for the API, for now only one is available:
|
||||
- [Fooder CLI Client](https://github.com/ickyicky/fooder-cli-client)
|
||||
Simple API for food diary application. It uses FastAPI and async postgres.
|
||||
|
||||
## Usage
|
||||
|
||||
|
|
|
@ -48,6 +48,5 @@ def find(bar_code: str) -> Product:
|
|||
fiber=data["product"]["nutriments"].get("fiber_100g", 0.0),
|
||||
)
|
||||
except Exception as e:
|
||||
raise e
|
||||
logger.error(e)
|
||||
raise ParseError()
|
||||
|
|
Loading…
Reference in a new issue