aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/java/com/juick/www/Main.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-09-02 12:38:52 +0300
committerGravatar Vitaly Takmazov2016-09-02 12:38:52 +0300
commit794678f641877c846f08b0d6b845366c8f340c69 (patch)
tree90e54d6082dfd68f560fea94cb72044433f8f44e /juick-www/src/main/java/com/juick/www/Main.java
parentd97bfe93f5f886ec4e85e0ac71889942d76511f8 (diff)
pm_sent template
Diffstat (limited to 'juick-www/src/main/java/com/juick/www/Main.java')
-rw-r--r--juick-www/src/main/java/com/juick/www/Main.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/juick-www/src/main/java/com/juick/www/Main.java b/juick-www/src/main/java/com/juick/www/Main.java
index 1e755ca3..c67eced0 100644
--- a/juick-www/src/main/java/com/juick/www/Main.java
+++ b/juick-www/src/main/java/com/juick/www/Main.java
@@ -190,7 +190,11 @@ public class Main extends HttpServlet implements Stream.StreamListener {
}
break;
case "/pm/sent":
- pm.doGetSent(sql, request, response, visitor);
+ try {
+ pm.doGetSent(sql, request, response, visitor);
+ } catch (PebbleException e) {
+ log("pebble exception", e);
+ }
break;
default:
Errors.doGet404(sql, request, response);