mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
log user visible nothing to run message
This commit is contained in:
+7
-1
@@ -63,7 +63,9 @@ public abstract class SearchForTestsTask extends Task.Backgroundable {
|
||||
}
|
||||
}
|
||||
});
|
||||
if (ex[0] != null) throw ex[0];
|
||||
if (ex[0] != null) {
|
||||
logCantRunException(ex[0]);
|
||||
}
|
||||
}
|
||||
catch (ProcessCanceledException e) {
|
||||
throw e;
|
||||
@@ -76,6 +78,10 @@ public abstract class SearchForTestsTask extends Task.Backgroundable {
|
||||
}
|
||||
}
|
||||
|
||||
protected void logCantRunException(CantRunException e) throws CantRunException {
|
||||
throw e;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onCancel() {
|
||||
finish();
|
||||
|
||||
Reference in New Issue
Block a user