[barcode] small fix

This commit is contained in:
Piotr Domański 2024-05-20 16:46:58 +02:00
parent 6ee8c68746
commit 969b57e993
2 changed files with 1 additions and 5 deletions

View file

@ -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

View file

@ -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()