Catch GerritError exception
authorEd Bartosh <eduard.bartosh@intel.com>
Mon, 4 Nov 2013 15:39:57 +0000 (17:39 +0200)
committerEd Bartosh <eduard.bartosh@intel.com>
Mon, 4 Nov 2013 15:39:57 +0000 (17:39 +0200)
commit8dcb8451002df92669860fdaeebd618b86e8a7a8
treedf712601296f816e60358914c31de52e1100bfa1
parent6326de9a4779267ce8697a656fc46ec222ad233e
Catch GerritError exception

Wrapped gerrit.Gerrit.* calls into try/except to catch GerritError
exception and produce human-readable error messages.

Fixes: #1436

Change-Id: Id7aec6ced7a8803987eb765e51bc667f0b4de557
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
job_buildcheck_post.py
job_policycheck.py
job_sync_git.py