Closed mooster531 closed 3 weeks ago
While I'm at (or near) it - thoughts on converting this return False
to a raise RuntimeError
?
# src/sources/postgres.py
except SQLAlchemyError as e:
log.error("Invalid SQL query: %s", str(e))
return False
Reasoning: the application couldn't possibly do anything useful if the SQL query is invalid. We don't need to let it continue with a broken initial state.
Closes #44