Skip to content

Commit

Permalink
fix: catch failed attempts at fetching builds
Browse files Browse the repository at this point in the history
  • Loading branch information
pyoor committed Jul 14, 2023
1 parent d348dcd commit c29532d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bugmon/bugmon.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from typing import Dict, List, Optional, Union, cast

from autobisect.bisect import BisectionResult, Bisector
from autobisect.build_manager import BuildManager
from autobisect.build_manager import BuildManager, BuildManagerException
from autobisect.evaluators import BrowserEvaluator, EvaluatorResult, JSEvaluator
from bugsy.bugsy import Bugsy
from fuzzfetch import BuildSearchOrder, Fetcher, FetcherException
Expand Down Expand Up @@ -449,7 +449,7 @@ def _reproduce_bug(
result = ReproductionFailed()
self.results[branch][build_name] = result
return self.results[branch][build_name]
except FetcherException as e:
except BuildManagerException as e:
log.error(f"Error fetching build: {e}")
return ReproductionFailed()

Expand Down

0 comments on commit c29532d

Please sign in to comment.