diff options
| -rw-r--r-- | manifest_xml.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/manifest_xml.py b/manifest_xml.py index c44b9c5e..030da180 100644 --- a/manifest_xml.py +++ b/manifest_xml.py | |||
| @@ -352,7 +352,13 @@ class XmlManifest(object): | |||
| 352 | except OSError: | 352 | except OSError: |
| 353 | pass | 353 | pass |
| 354 | 354 | ||
| 355 | self._ParseManifest(nodes) | 355 | try: |
| 356 | self._ParseManifest(nodes) | ||
| 357 | except ManifestParseError as e: | ||
| 358 | # There was a problem parsing, unload ourselves in case they catch | ||
| 359 | # this error and try again later, we will show the correct error | ||
| 360 | self._Unload() | ||
| 361 | raise e | ||
| 356 | 362 | ||
| 357 | if self.IsMirror: | 363 | if self.IsMirror: |
| 358 | self._AddMetaProjectMirror(self.repoProject) | 364 | self._AddMetaProjectMirror(self.repoProject) |
