Przeglądaj źródła

Generic try/catch directly around parse() for parser errors.

tags/v1.0^2
Ben Kurtovic 10 lat temu
rodzic
commit
8363f2b0f4
1 zmienionych plików z 2 dodań i 0 usunięć
  1. +2
    -0
      bitshift/crawler/indexer.py

+ 2
- 0
bitshift/crawler/indexer.py Wyświetl plik

@@ -168,6 +168,8 @@ class GitIndexer(threading.Thread):
parse(codelet)
except UnsupportedFileError:
continue
except Exception:
self._logger.exception("Exception raised while parsing:")
self.database.insert(codelet)

def _generate_file_url(self, filename, repo):


Ładowanie…
Anuluj
Zapisz