pocolifo / noter-backend

0 stars 0 forks source link

An SQLAlchemy exception fails all future queries #36

Closed YoungerMax closed 11 months ago

YoungerMax commented 11 months ago

For example, when trying to get a user and the query fails, all future queries will also fail and throw an exception because the initial one failed.

Solution: add error handling when making database queries, and rollback changes when an exception occurs

See the DAST workflow logs... they speak for themselves...