Build: print more details on error

This commit is contained in:
Patrick Huber 2022-03-25 21:10:40 +01:00
parent 384dfb5f46
commit 95afaf3eac
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ class BaritoneGradleTask extends DefaultTask {
protected void verifyArtifacts() throws IllegalStateException {
if (!Files.exists(this.artifactPath)) {
throw new IllegalStateException("Artifact not found! Run build first!");
throw new IllegalStateException("Artifact not found! Run build first! Missing file: " + this.artifactPath);
}
}