mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-06-17 22:32:04 +00:00
Fix false error detection
This commit is contained in:
@@ -215,6 +215,9 @@ public class IrisProject {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
KList<Report> reports = scanForErrors();
|
KList<Report> reports = scanForErrors();
|
||||||
|
|
||||||
|
if(reports.isNotEmpty())
|
||||||
|
{
|
||||||
sender.sendMessage("There are " + reports.size() + " problems detected with this project. See console!");
|
sender.sendMessage("There are " + reports.size() + " problems detected with this project. See console!");
|
||||||
Iris.error("===========================================================");
|
Iris.error("===========================================================");
|
||||||
for (Report i : reports) {
|
for (Report i : reports) {
|
||||||
@@ -230,6 +233,7 @@ public class IrisProject {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
Iris.error("===========================================================");
|
Iris.error("===========================================================");
|
||||||
|
}
|
||||||
} catch (Throwable e) {
|
} catch (Throwable e) {
|
||||||
hasError = true;
|
hasError = true;
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
|
|||||||
Reference in New Issue
Block a user