code: def execute_catch(c, sql, vars=None):
      
      try:
          c.execute(sql, vars)
      except Exception as err:
          cmd = sql.split(' ', 1)[0]
          log.error("Error executing %s: %s", cmd, err)
docs: Run a query, but ignore any errors. For error recovery paths where the error handler should not raise another.