瀏覽代碼

Fixed error message to use given parameters. (#12008)

Fixes #11993
tags/8.12.0.alpha1
Anna Koskinen 4 年之前
父節點
當前提交
1f709b081c
No account linked to committer's email address
共有 1 個文件被更改,包括 5 次插入4 次删除
  1. 5
    4
      server/src/main/java/com/vaadin/ui/UI.java

+ 5
- 4
server/src/main/java/com/vaadin/ui/UI.java 查看文件

@@ -1588,10 +1588,11 @@ public abstract class UI extends AbstractSingleComponentContainer
* accessSynchronously. Furthermore, there wasn't an
* ErrorHandlingRunnable that handled the exception.
*/
getLogger().log(Level.WARNING,
"access() task ignored because UI got detached after the task was enqueued."
+ " To suppress this message, change the task to implement {} and make it handle {}."
+ " Affected task: {}",
getLogger().log(Level.WARNING, "access() task ignored "
+ "because UI got detached after the task was "
+ "enqueued. To suppress this message, change "
+ "the task to implement {0} and make it handle "
+ "{1}. Affected task: {2}",
new Object[] {
ErrorHandlingRunnable.class.getName(),
UIDetachedException.class.getName(),

Loading…
取消
儲存