Skip to content

Commit 7a909d1

Browse files
authored
Merge pull request #200 from criteo/tnion-criteo-try-getting-more-logs
Get more info in the logs to help debug SDK push failures.
2 parents 4ccf4fa + 79a2dbf commit 7a909d1

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

scripts/shared/clients/git_client.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ def tag(self,tag_name):
7979
raise GitException(f'Git tag operation failed: {str(e)}')
8080

8181
def push(self, include_tags = True):
82+
# In case of issue, be sure to check the known remotes.
83+
run_command(f'git ls-remote')
84+
8285
run_command(f'git push origin --all')
8386

8487
if include_tags:

scripts/shared/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def run_command(command, env=None, error_template=None):
6767
output = subprocess.Popen(command,
6868
shell=True,
6969
stdout=subprocess.PIPE,
70-
stderr=subprocess.PIPE,
70+
stderr=subprocess.STDOUT,
7171
env=env)
7272

7373
lines = ''

0 commit comments

Comments
 (0)