summaryrefslogtreecommitdiffstats
path: root/compatibility-server-gae
diff options
context:
space:
mode:
Diffstat (limited to 'compatibility-server-gae')
-rw-r--r--compatibility-server-gae/src/main/java/com/vaadin/server/GAEVaadinServlet.java10
1 files changed, 4 insertions, 6 deletions
diff --git a/compatibility-server-gae/src/main/java/com/vaadin/server/GAEVaadinServlet.java b/compatibility-server-gae/src/main/java/com/vaadin/server/GAEVaadinServlet.java
index 5b25a48ba9..3c59e52c79 100644
--- a/compatibility-server-gae/src/main/java/com/vaadin/server/GAEVaadinServlet.java
+++ b/compatibility-server-gae/src/main/java/com/vaadin/server/GAEVaadinServlet.java
@@ -151,16 +151,14 @@ public class GAEVaadinServlet extends VaadinServlet {
VaadinServletResponse response) throws IOException {
criticalNotification(request, response, "NotSerializableException",
"I'm sorry, but there seems to be a serious problem, please contact the administrator. And please take note of any unsaved data...",
- "",
- getApplicationUrl(request).toString() + "?restartApplication");
+ "", getApplicationUrl(request) + "?restartApplication");
}
protected void sendCriticalErrorNotification(VaadinServletRequest request,
VaadinServletResponse response) throws IOException {
criticalNotification(request, response, "Critical error",
"I'm sorry, but there seems to be a serious problem, please contact the administrator. And please take note of any unsaved data...",
- "",
- getApplicationUrl(request).toString() + "?restartApplication");
+ "", getApplicationUrl(request) + "?restartApplication");
}
@Override
@@ -227,8 +225,8 @@ public class GAEVaadinServlet extends VaadinServlet {
try {
Thread.sleep(RETRY_AFTER_MILLISECONDS);
} catch (InterruptedException e) {
- getLogger()
- .finer("Thread.sleep() interrupted while waiting for lock. Trying again. "
+ getLogger().finer(
+ "Thread.sleep() interrupted while waiting for lock. Trying again. "
+ e);
}
}