Skip to content

Commit

Permalink
Restore error messages during a repository rule fetch failure to not …
Browse files Browse the repository at this point in the history
…suppress contextual console output

See bazelbuild#6670 (comment)

Closes bazelbuild#8584.

Change-Id: I5d69d73ac41d71c4ee75351aa52a7c5e3bccd6b4
PiperOrigin-RevId: 253645460
  • Loading branch information
jin authored and siberex committed Jul 4, 2019
1 parent 7da70da commit e839917
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ protected Map<Label, Target> getTargets(
Event.error(
TargetUtils.getLocationMaybe(fromTarget),
String.format(
"%s depends on %s in repository %s which failed to fetch",
"%s depends on %s in repository %s which failed to fetch. "
+ e.getMessage(),
fromTarget.getLabel(),
label,
label.getPackageIdentifier().getRepository())));
Expand Down

0 comments on commit e839917

Please sign in to comment.