~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/bugs/scripts/bzremotecomponentfinder.py

  • Committer: Bryce Harrington
  • Date: 2011-07-01 18:36:56 UTC
  • mto: This revision was merged to the branch mainline in revision 13362.
  • Revision ID: bryce@canonical.com-20110701183656-n9idbyeu2u0p2dwp
Review from Curtis Hovey: Launchpad logs code failures or failures that
engineers must fix as errors.  launchpad logs issues with other sites or
user data as warnings. The faults I saw in testing were dead sites or
bad user data...I do not think these cases are errors.

Show diffs side-by-side

added added

removed removed

Lines of Context:
146
146
                self.logger.debug("...Fetching page")
147
147
                page_text = bz_bugtracker.getPage()
148
148
            except HTTPError, error:
149
 
                self.logger.error("Error fetching %s: %s" % (
 
149
                self.logger.warning("Could not fetch %s: %s" % (
150
150
                    lp_bugtracker.baseurl, error))
151
151
                continue
152
152
            except:
153
 
                self.logger.error("Failed to access %s" % (
 
153
                self.logger.warning("Failed to access %s" % (
154
154
                    lp_bugtracker.baseurl))
155
155
                continue
156
156