You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownewIllegalStateException("Could not find specified template file ${template.file}")
}
Symptom
When the template file is not present the error does not include the name of the missing file.
Execution failed for task ':docker-compose:janusgraph-client:generateDockerCompose'.
> Could not find specified template file false
The name of the file is not 'false'.
Cause
Use of template.file effectively calls getTemplate().isFile() which returns a boolean.
This is appropriate for the conditional test but the thrown exception message should be using template.path i.e. getTemplate().getPath().
The text was updated successfully, but these errors were encountered:
Critical Source Code
gradle-docker/src/main/groovy/com/palantir/gradle/docker/GenerateDockerCompose.groovy
Lines 44 to 47 in 34cf512
Symptom
When the template file is not present the error does not include the name of the missing file.
The name of the file is not 'false'.
Cause
Use of
template.file
effectively callsgetTemplate().isFile()
which returns a boolean.This is appropriate for the conditional test but the thrown exception message should be using
template.path
i.e.getTemplate().getPath()
.The text was updated successfully, but these errors were encountered: