Commit 9ff0584e authored by Sanjeev-SLB's avatar Sanjeev-SLB
Browse files

Revert "Merge branch 'fixed-5xx-errors' into 'master'"

This reverts merge request !79
parent a18c2103
Pipeline #40785 failed with stages
in 17 seconds
......@@ -132,7 +132,7 @@ public class PubsubEndpoint {
return ResponseEntity.ok(ACKNOWLEDGE);
}
private Subscription getSubscriptionFromCache(String notificationId) throws IOException, SubscriptionException {
private Subscription getSubscriptionFromCache(String notificationId) throws Exception {
String subscriptionString = subscriptionCacheFactory.get(notificationId);
try {
if (Strings.isNullOrEmpty(subscriptionString))
......@@ -149,7 +149,7 @@ public class PubsubEndpoint {
}
}
private String querySubscriptionAndUpdateCache(String notificationId) throws AppException, SubscriptionException {
private String querySubscriptionAndUpdateCache(String notificationId) throws Exception {
ISubscriptionService service = subscriptionFactory.create(headers);
List<Subscription> subscriptionList = service.query(notificationId);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment