chore: add logging for debugging release json (#37270)
* chore: add debug logging for JSON * chore: better logging
This commit is contained in:
parent
8eee4f2df1
commit
fe7c535a3f
1 changed files with 3 additions and 0 deletions
|
@ -384,6 +384,9 @@ def get_release(version):
|
|||
script_path = os.path.join(
|
||||
ELECTRON_DIR, 'script', 'release', 'find-github-release.js')
|
||||
release_info = execute(['node', script_path, version])
|
||||
if is_verbose_mode():
|
||||
print('Release info for version: {}:\n'.format(version))
|
||||
print(release_info)
|
||||
release = json.loads(release_info)
|
||||
return release
|
||||
|
||||
|
|
Loading…
Reference in a new issue