mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Show the error to users
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user