Adding message if unable to find jetty-distribution

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
This commit is contained in:
Joakim Erdfelt 2019-09-05 12:09:50 -05:00
parent f0743f4d2a
commit 829cccaef7
1 changed files with 6 additions and 0 deletions

View File

@ -61,6 +61,12 @@ public class JettyDistribution
LOG.warn(cause);
}
}
if (distro == null)
{
throw new RuntimeException("Unable to find built jetty-distribution, run the build and try again.");
}
DISTRIBUTION = distro;
}