[Compass-ci] [PATCH v3 compass-ci] src/extract-stats deal with potential exceptions