Adding message if unable to find jetty-distribution
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
This commit is contained in:
parent
f0743f4d2a
commit
829cccaef7
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue