Skip to content

Commit b5d04ce

Browse files
javier-godoymlopezFC
authored andcommitted
chore: rewrite the exception message
The component may be attached, but the terminal-initialized event has not been fired yet.
1 parent 381e7c5 commit b5d04ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/flowingcode/vaadin/addons/xterm/XTermBase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ private CompletableFuture<JsonValue> executeJs(boolean hasResult, String express
194194
} else if (deferredCommands == null) {
195195
return getElement().executeJs(expression, parameters).toCompletableFuture();
196196
} else {
197-
throw new IllegalStateException("Component is not attached");
197+
throw new IllegalStateException("Terminal is not initialized");
198198
}
199199
}
200200

0 commit comments

Comments
 (0)