In other words, the DB can fail literally *anywhere* that we are writing data (or even reading for that matter) so I'm not sure how helpful this is, except to just have a blanket "try/except Excetion" block when creating an instance record in the database and if that fails, set the instance to error state - not that we can't set it to error state if we can't insert the record in the DB in the first place...
In other words, the DB can fail literally *anywhere* that we are writing data (or even reading for that matter) so I'm not sure how helpful this is, except to just have a blanket "try/except Excetion" block when creating an instance record in the database and if that fails, set the instance to error state - not that we can't set it to error state if we can't insert the record in the DB in the first place...