CQ: include more information in exception warnings

BUG=none

Review URL: https://codereview.chromium.org/92903002

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/commit-queue@237633 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/verification/try_job_on_rietveld.py b/verification/try_job_on_rietveld.py
index 6775eff..6d63706 100644
--- a/verification/try_job_on_rietveld.py
+++ b/verification/try_job_on_rietveld.py
@@ -725,21 +725,26 @@
     except urllib2.HTTPError as e:
       if e.code in (500, 502, 503):
         # Temporary AppEngine hiccup. Just log it and return failure.
-        logging.warning(str(e))
+        logging.warning('%s while accessing %s. Ignoring error.' % (
+                        str(e), e.url))
         return False
       else:
         raise
     except socket.error as e:
       # Temporary AppEngine hiccup. Just log it and return failure.
       if e.errno == errno.ECONNRESET:
-        logging.warning(str(e))
+        logging.warning(
+            '%s while updating tryserver status for rietveld issue %s.' % (
+            str(e), str(pending.issue)))
         return False
       else:
         raise
     except IOError as e:
       # Temporary AppEngine hiccup. Just log it and return failure.
       if e.errno == 'socket error':
-        logging.warning(str(e))
+        logging.warning(
+            '%s while updating tryserver status for rietveld issue %s.' % (
+            str(e), str(pending.issue)))
         return False
       raise
     if handle: