improved logging
This commit is contained in:
parent
6708a6a900
commit
59e5bb8ed2
1 changed files with 1 additions and 0 deletions
|
@ -68,6 +68,7 @@ class ApplyPatch:
|
||||||
try:
|
try:
|
||||||
with open(self.diff_json_path,'w') as json_file:
|
with open(self.diff_json_path,'w') as json_file:
|
||||||
json.dump(diff.response, json_file, sort_keys=True, indent=4)
|
json.dump(diff.response, json_file, sort_keys=True, indent=4)
|
||||||
|
print('Wrote diff details to "{}".'.format(self.diff_json_path))
|
||||||
except Exception:
|
except Exception:
|
||||||
print('WARNING: could not write build/diff.json log file')
|
print('WARNING: could not write build/diff.json log file')
|
||||||
self.git_hash = diff['sourceControlBaseRevision']
|
self.git_hash = diff['sourceControlBaseRevision']
|
||||||
|
|
Loading…
Reference in a new issue