Add better handling of undefined entry points.
This commit is contained in:
@@ -158,6 +158,10 @@ impl WorkspaceHandler {
|
||||
.entry_point();
|
||||
}
|
||||
|
||||
if entry_point.file_name().is_none() {
|
||||
return Err(Error::UndefinedEntryPoint);
|
||||
}
|
||||
|
||||
java::runtime::JVMBuilder::new(Self::DIR_TARGET)
|
||||
.assertions(assertions)
|
||||
.monitor(true)
|
||||
|
||||
Reference in New Issue
Block a user