Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1481e71 commit 9240de9Copy full SHA for 9240de9
git/remote.py
@@ -122,14 +122,14 @@ def __new__(cls) -> 'IterableList[IterableObj]':
122
123
def __init__(self) -> None:
124
super().__init__('push_infos')
125
- self.exception = None
+ self.error = None
126
127
- def raise_on_error(self):
+ def raise_if_error(self):
128
"""
129
Raise an exception if any ref failed to push.
130
131
- if self.exception:
132
- raise self.exception
+ if self.error:
+ raise self.error
133
134
135
class PushInfo(IterableObj, object):
@@ -819,7 +819,7 @@ def stdout_handler(line: str) -> None:
819
raise
820
elif stderr_text:
821
log.warning("Error lines received while fetching: %s", stderr_text)
822
- output.exception = e
+ output.error = e
823
824
return output
825
0 commit comments