As from today there will be a slight change in the behavior of the Cloud SQL Python DBAPI driver.
All errors from the database will be thrown as a DatabaseError or one of the subclasses. In particular an "Invalid connection id." error will become a DatabaseError rather than the subclass of OperationalError.
Please ensure your code is catching DatabaseError and not just OperationalError.
thanks
--
No comments:
Post a Comment