mirror of
https://github.com/Balshgit/github_mirror.git
synced 2026-02-04 10:40:39 +03:00
add more information to log
This commit is contained in:
@@ -62,7 +62,7 @@ class RepositoryCreator:
|
||||
logger.info(f'Repository {repo_data["name"]} has been created')
|
||||
return repo_data['id']
|
||||
else:
|
||||
logger.error(f'Cant create new project. Status code: {request.status_code}. Reason: {request.text}')
|
||||
logger.error(f'Cant create {name} project. Status code: {request.status_code}. Reason: {request.text}')
|
||||
except AttributeError:
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user