mirror of https://github.com/sbt/sbt.git
When usePipelining is enabled and compilation has errors, CancellationException was being thrown and showing confusing stack traces to users. This fix catches the exception in ConcurrentRestrictions.take() and converts it to Incomplete, which is properly handled by the task execution framework without showing stack traces. - Added CancellationException import - Wrapped jservice.take().get() in try-catch - Convert CancellationException to Incomplete to prevent stack traces - Added scripted test to verify the fix Fixes #7973 |
||
|---|---|---|
| .. | ||
| src/main/scala/sbt | ||
| NOTICE | ||