various tweaks

This commit is contained in:
Athou
2013-05-22 21:56:22 +02:00
parent fe16a2a7e2
commit 58501bbfb1
2 changed files with 2 additions and 4 deletions

View File

@@ -2,7 +2,6 @@ package com.commafeed.backend.services;
import java.util.List;
import javax.ejb.Stateless;
import javax.ejb.ApplicationException;
import javax.inject.Inject;
@@ -18,7 +17,6 @@ import com.commafeed.backend.model.FeedSubscription;
import com.commafeed.backend.model.User;
import com.google.api.client.util.Lists;
@Stateless
public class FeedSubscriptionService {
@SuppressWarnings("serial")
@@ -53,7 +51,7 @@ public class FeedSubscriptionService {
final String pubUrl = applicationSettingsService.get().getPublicUrl();
if (pubUrl == null) {
throw new FeedSubscriptionException(
"Public URL of this CommaFeed is unset");
"Public URL of this CommaFeed instance is not set");
}
if (url.startsWith(pubUrl)) {
throw new FeedSubscriptionException(

View File

@@ -94,7 +94,7 @@ public class PubSubHubbubCallbackREST {
}
}
} catch (Exception e) {
log.debug("Could not parse pubsub callback: " + e.getMessage(), e);
log.error("Could not parse pubsub callback: " + e.getMessage());
}
return Response.ok().build();
}