Show the error to users

This commit is contained in:
Denis Fokin
2018-02-19 17:49:56 +03:00
parent 00ede32ab2
commit 5b8588a8d0
@@ -1205,7 +1205,7 @@ public class IdeEventQueue extends EventQueue {
if (!delayKeyEvents.get()) return false;
long currentTypeaheadDelay = System.currentTimeMillis() - lastTypeaheadTimestamp;
if (currentTypeaheadDelay > Registry.get("action.aware.typeaheadTimout").asDouble()) {
TYPEAHEAD_LOG.warn(new RuntimeException("Typeahead timeout is exceeded: " + currentTypeaheadDelay));
TYPEAHEAD_LOG.error(new RuntimeException("Typeahead timeout is exceeded: " + currentTypeaheadDelay));
return true;
}
return false;