-
Notifications
You must be signed in to change notification settings - Fork 315
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Gracefully handle invalid jar files during mtags indexing.
Previously, the indexing pipeline would crash if a `*-sources.jar` did not have valid jar contents.
- Loading branch information
Olafur Pall Geirsson
committed
Dec 4, 2019
1 parent
0d1c46f
commit fd4f4d1
Showing
2 changed files
with
13 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
mtags/src/main/scala/scala/meta/internal/mtags/InvalidJarException.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package scala.meta.internal.mtags | ||
|
||
import scala.meta.io.AbsolutePath | ||
|
||
case class InvalidJarException(path: AbsolutePath, underlying: Throwable) | ||
extends Exception(path.toString) |