mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-05 18:50:09 +02:00
Show debug messages to give clue why pushing git mirror failed
This commit is contained in:
parent
3113b890b5
commit
7d69f04b94
@ -438,6 +438,10 @@ def update_servergitmirrors(servergitmirrors, repo_section):
|
||||
| git.remote.PushInfo.REJECTED
|
||||
| git.remote.PushInfo.REMOTE_FAILURE
|
||||
| git.remote.PushInfo.REMOTE_REJECTED):
|
||||
# Show potentially useful messages from git remote
|
||||
for line in progress.other_lines:
|
||||
if line.startswith('remote:'):
|
||||
logging.debug(line)
|
||||
raise FDroidException(remote.url + ' push failed: ' + str(pushinfo.flags)
|
||||
+ ' ' + pushinfo.summary)
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user