show exception in debug log

This commit is contained in:
Athou
2013-08-06 13:07:50 +02:00
parent b8a256ac7d
commit 2bff335698

View File

@@ -234,6 +234,7 @@ public class FeedREST extends AbstractREST {
info.setTitle(feed.getTitle());
} catch (Exception e) {
log.debug(e.getMessage(), e);
throw new WebApplicationException(e, Response.status(Status.INTERNAL_SERVER_ERROR).entity(e.getMessage()).build());
}
return info;