Removed redundant checking for test mode. Exceptions will be thrown anyway.
This commit is contained in:
@@ -134,9 +134,6 @@ public class JetPsiChecker implements Annotator {
|
||||
// For failing tests and to notify about idea internal error in -ea mode
|
||||
holder.createErrorAnnotation(element, e.getClass().getCanonicalName() + ": " + e.getMessage());
|
||||
LOG.error(e);
|
||||
if (ApplicationManager.getApplication().isUnitTestMode()) {
|
||||
throw ExceptionUtils.rethrow(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user