Fix build.
This commit is contained in:
parent
0ee47771db
commit
f9e757760b
1 changed files with 4 additions and 4 deletions
|
@ -544,10 +544,10 @@ def build_incrementally(
|
||||||
source_date_epoch=source_date_epoch,
|
source_date_epoch=source_date_epoch,
|
||||||
run_gbp_dch=(update_changelog is False)
|
run_gbp_dch=(update_changelog is False)
|
||||||
)
|
)
|
||||||
except SbuildFailure as e:
|
except UnidentifiedDebianBuildError:
|
||||||
if e.error is None:
|
logging.warning("Build failed with unidentified error. Giving up.")
|
||||||
logging.warning("Build failed with unidentified error. Giving up.")
|
raise
|
||||||
raise
|
except DetailedDebianBuildFailure as e:
|
||||||
if e.phase is None:
|
if e.phase is None:
|
||||||
logging.info("No relevant context, not making any changes.")
|
logging.info("No relevant context, not making any changes.")
|
||||||
raise
|
raise
|
||||||
|
|
Loading…
Add table
Reference in a new issue