diff options
author | Vitaly Takmazov | 2018-03-30 14:18:56 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-03-30 14:18:56 +0300 |
commit | a746598faef08af794c66d65ba9324bee5043b73 (patch) | |
tree | eff6bd472547df069b3fcbd3da2e29f750d58626 /juick-server/src/main/java/com/juick/server/WebsocketManager.java | |
parent | 42e2a727c2bc15ac15c9a3af66f126dbefe508a2 (diff) |
server: process everything in one place
Diffstat (limited to 'juick-server/src/main/java/com/juick/server/WebsocketManager.java')
-rw-r--r-- | juick-server/src/main/java/com/juick/server/WebsocketManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-server/src/main/java/com/juick/server/WebsocketManager.java b/juick-server/src/main/java/com/juick/server/WebsocketManager.java index b63377aa..309f605c 100644 --- a/juick-server/src/main/java/com/juick/server/WebsocketManager.java +++ b/juick-server/src/main/java/com/juick/server/WebsocketManager.java @@ -153,7 +153,7 @@ public class WebsocketManager extends TextWebSocketHandler { String attachmentFileName = draft.getAttachment() == null ? "" : draft.getAttachment().getUrl(); serverManager.processMessage(draft.getUser(), draft.getText(), attachmentFileName); } - } catch (IOException e) { + } catch (Exception e) { throw new HttpBadRequestException(); } } else { |