CQ: catch more exceptions when applying a patch

BUG=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/commit-queue@235480 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/pending_manager.py b/pending_manager.py
index a11579d..be47a50 100644
--- a/pending_manager.py
+++ b/pending_manager.py
@@ -23,6 +23,7 @@
 import checkout
 import git_cl
 import patch
+import ssl
 import subprocess2
 
 import errors
@@ -90,7 +91,7 @@
       if e.stdout:
         out += '\n%s' % e.stdout
       raise base.DiscardPending(self, out)
-    except urllib2.HTTPError as e:
+    except (ssl.SSLError, urllib2.HTTPError, urllib2.URLError) as e:
       raise base.DiscardPending(
           self,
           ('Failed to request the patch to try. Please note that binary files '