| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 1481e71 commit 9240de9
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -122,14 +122,14 @@ def __new__(cls) -> 'IterableList[IterableObj]': | |||
| 122 | 122 | ||
| 123 | 123 | def __init__(self) -> None: | |
| 124 | 124 | super().__init__('push_infos') | |
| 125 | - self.exception = None | ||
| 125 | + self.error = None | ||
| 126 | 126 | ||
| 127 | - def raise_on_error(self): | ||
| 127 | + def raise_if_error(self): | ||
| 128 | 128 | """ | |
| 129 | 129 | Raise an exception if any ref failed to push. | |
| 130 | 130 | """ | |
| 131 | - if self.exception: | ||
| 132 | - raise self.exception | ||
| 131 | + if self.error: | ||
| 132 | + raise self.error | ||
| 133 | 133 | ||
| 134 | 134 | ||
| 135 | 135 | class PushInfo(IterableObj, object): | |
@@ -819,7 +819,7 @@ def stdout_handler(line: str) -> None: | |||
| 819 | 819 | raise | |
| 820 | 820 | elif stderr_text: | |
| 821 | 821 | log.warning("Error lines received while fetching: %s", stderr_text) | |
| 822 | - output.exception = e | ||
| 822 | + output.error = e | ||
| 823 | 823 | ||
| 824 | 824 | return output | |
| 825 | 825 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments