summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2013-04-17 10:25:39 +0300
committerVaadin Code Review <review@vaadin.com>2013-04-17 07:31:40 +0000
commit3d703e9c3eba8d9da3aebb5166ad24bf0368421a (patch)
tree7b53579c7ab1b5a25508d6c82d9add725b822a5b /server
parent77ff76fb0f1abc2621b0a4193590e68225f9fd05 (diff)
downloadvaadin-framework-3d703e9c3eba8d9da3aebb5166ad24bf0368421a.tar.gz
vaadin-framework-3d703e9c3eba8d9da3aebb5166ad24bf0368421a.zip
Log message instead of printing to stdout (#11556)
Change-Id: I0b297e2eb48e6c52558745650a18d9c466e4b8c2
Diffstat (limited to 'server')
-rw-r--r--server/src/com/vaadin/server/communication/PushHandler.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/com/vaadin/server/communication/PushHandler.java b/server/src/com/vaadin/server/communication/PushHandler.java
index e88ffb69b6..6fb1ab7a09 100644
--- a/server/src/com/vaadin/server/communication/PushHandler.java
+++ b/server/src/com/vaadin/server/communication/PushHandler.java
@@ -149,8 +149,8 @@ public class PushHandler implements AtmosphereHandler {
}
}
} catch (IOException e) {
- // TODO Error handling
- e.printStackTrace();
+ getLogger().log(Level.INFO,
+ "An error occured while writing a push response", e);
} finally {
session.unlock();
}