                          "new_table": self.quote_name(new_db_table),
                      }
                  )
          # Re-add geometry-ness and rename spatial index tables
          for field in model._meta.local_fields:
              if isinstance(field, GeometryField):
                  self.execute(self.sql_recover_geometry_metadata % {
 
</s> remove             with suppress(DatabaseError):
 </s> add             try: </s> remove             with suppress(DatabaseError):
 </s> add             try:
            except DatabaseError:
                pass
                          "new_table": self.quote_name(new_db_table),
                      }
                  )
            except DatabaseError:
                pass
          # Re-add geometry-ness and rename spatial index tables
          for field in model._meta.local_fields:
              if isinstance(field, GeometryField):
                  self.execute(self.sql_recover_geometry_metadata % {
keep keep add keep keep keep keep
 Reverted "Fixed #27818 -- Replaced try/except/pass with contextlib.suppress()."

This reverts commit 550cb3a365dee4edfdd1563224d5304de2a57fda
because try/except performs better. 
django/contrib/gis/db/backends/spatialite/schema.py