mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-27 22:40:13 +00:00
Fix false error detection
This commit is contained in:
1 parent
a9e5e40a54
commit
0debbc263e
1 file changed
+4
@@ -215,6 +215,9 @@ public class IrisProject {
|
||||
|
||||
try {
|
||||
KList<Report> reports = scanForErrors();
|
||||
|
||||
if(reports.isNotEmpty())
|
||||
{
|
||||
sender.sendMessage("There are " + reports.size() + " problems detected with this project. See console!");
|
||||
Iris.error("===========================================================");
|
||||
for (Report i : reports) {
|
||||
@@ -230,6 +233,7 @@ public class IrisProject {
|
||||
}
|
||||
}
|
||||
Iris.error("===========================================================");
|
||||
}
|
||||
} catch (Throwable e) {
|
||||
hasError = true;
|
||||
e.printStackTrace();
|
||||
|
||||
Reference in new issue
Block a user