Skip to content

Commit

Permalink
Convert e.printStackTrace to rule error in cc_library
Browse files Browse the repository at this point in the history
Tiny cleanup.

RELNOTES: None.
PiperOrigin-RevId: 257586398
  • Loading branch information
hlopko authored and copybara-github committed Jul 11, 2019
1 parent 8c524dc commit 4c56638
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ public static void init(
builder.addTransitiveArtifacts(
ccToolchain.getDynamicRuntimeLinkInputs(featureConfiguration));
} catch (EvalException e) {
e.printStackTrace();
throw ruleContext.throwWithRuleError(e.getMessage());
}
}
Runfiles runfiles = builder.build();
Expand Down

0 comments on commit 4c56638

Please sign in to comment.