summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Copeland <ben.copeland@linaro.org>2018-01-15 11:31:25 +0000
committerBen Copeland <ben.copeland@linaro.org>2018-01-15 15:41:13 +0000
commitb3845030dcd963a2a0dc18046f559c47f2b0468c (patch)
tree28ebd4c7ddacd0f297e8bceea295b06612d2851f
parent09afc666057e6346148e4f9ac65cbbf186998221 (diff)
downloadpatchwork-tools-master.tar.gz
update_commited_patches: Improve error loggingHEADmaster
Change-Id: Iab32a922f87ab708a5b916e555e74cf7f8b4a332
-rwxr-xr-xupdate_commited_patches.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/update_commited_patches.py b/update_commited_patches.py
index 2cd5331..e295641 100755
--- a/update_commited_patches.py
+++ b/update_commited_patches.py
@@ -65,6 +65,9 @@ def _update_project(cb, repo_dir, project, commits, dryrun):
if cb:
cb(project, repo, commit, dryrun)
except MemoryError as e:
+ log.error('Unable to process commit(%s) because of size: %s',
+ commit.id, e)
+ except Exception as e:
log.error('Unable to process commit(%s): %s', commit.id, e)