Skip to content

Commit 6c6d3dd

Browse files
committed
debug issue creating git tree
1 parent 09fb092 commit 6c6d3dd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/automated_ingestion/eessi_task.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -503,6 +503,10 @@ def _create_symlink(self, source_path: str, target_path: str, branch: str = None
503503
log_message(LoggingScope.TASK_OPS, 'INFO', "new tree created: %s", new_tree)
504504
except Exception as err:
505505
log_message(LoggingScope.TASK_OPS, 'ERROR', "Error creating new tree: %s", err)
506+
log_message(LoggingScope.TASK_OPS, 'ERROR', " Status Code: %s", err.status)
507+
log_message(LoggingScope.TASK_OPS, 'ERROR', " Error Message: %s", err.data)
508+
log_message(LoggingScope.TASK_OPS, 'ERROR', " Headers: %s", err.headers)
509+
log_message(LoggingScope.TASK_OPS, 'ERROR', " Raw Response: %s", err.response)
506510
return False
507511

508512
# Create new commit

0 commit comments

Comments
 (0)