raise an exception
authorSylvestre Ledru <sledru@mozilla.com>
Thu, 04 Dec 2014 17:59:01 -0800
changeset 5245 96f00554eaf43a20e3c431a3f8f89569e5b8778e
parent 5244 c4e2a65d7dcbd13265770a03c2838e16251afd16
child 5246 1876365dfd6dd541d83b0ea860ab84d3c5dc74ab
push id9
push usersledru@mozilla.com
push dateFri, 05 Dec 2014 01:59:05 +0000
raise an exception
buildbot-helpers/release_sanity.py
--- a/buildbot-helpers/release_sanity.py
+++ b/buildbot-helpers/release_sanity.py
@@ -123,17 +123,17 @@ def get_l10n_changesets(locale_url):
         return True
     except urllib2.HTTPError, e:
         reason = ""
         if hasattr(e, 'reason'):
             # Python 2.6 does not have reason
             reason = e.reason
         log.error("error checking l10n changeset %s: %d %s" % (locale_url, e.code, reason))
         error_tally.add('verify_l10n')
-        return False
+        raise
 
 
 def verify_l10n_changesets(hgHost, l10n_changesets):
     """Checks for the existance of all l10n changesets"""
     success = True
     locales = query_locale_revisions(l10n_changesets)
     for locale in sorted(locales.keys()):
         revision = locales[locale]