Skip to content

Conversation

eatkins
Copy link
Contributor

@eatkins eatkins commented Oct 21, 2020

In sbt 1.4.x, compilation failures print a noisy stack trace because
InterfaceCompileFailed does not inherit FeedbackProvidedException. To
fix this, we can rethrow an sbt.internal.inc.CompileFailed, which does
inherit FeedbackProvidedException.

Ref: sbt/sbt#6002

In sbt 1.4.x, compilation failures print a noisy stack trace because
InterfaceCompileFailed does not inherit FeedbackProvidedException. To
fix this, we can rethrow an sbt.internal.inc.CompileFailed, which does
inherit FeedbackProvidedException.

Ref: sbt/sbt#6002
@SethTisue SethTisue changed the title Throw UnprintableException to supress stack trace Throw UnprintableException to suppress stack trace Oct 21, 2020
@eed3si9n eed3si9n merged commit 9cfd854 into sbt:develop Oct 22, 2020
@eatkins eatkins deleted the fix-noisy-stack-trace branch October 22, 2020 02:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants