4609 views

`ProgrammingError` is a subclass of `DatabaseError`. In order to also capture `OperationalError` (another subclass), I have switched to catching the parent so as to cover both bases.