Skip to content
Snippets Groups Projects
Commit 3ff8e926 authored by Sanjeev-SLB's avatar Sanjeev-SLB
Browse files

Fixed 5xx errros

parent 5ed90748
No related branches found
No related tags found
1 merge request!79Fixed 5xx errors
Pipeline #40783 failed
......@@ -132,7 +132,7 @@ public class PubsubEndpoint {
return ResponseEntity.ok(ACKNOWLEDGE);
}
private Subscription getSubscriptionFromCache(String notificationId) throws Exception {
private Subscription getSubscriptionFromCache(String notificationId) throws IOException, SubscriptionException {
String subscriptionString = subscriptionCacheFactory.get(notificationId);
try {
if (Strings.isNullOrEmpty(subscriptionString))
......@@ -149,7 +149,7 @@ public class PubsubEndpoint {
}
}
private String querySubscriptionAndUpdateCache(String notificationId) throws Exception {
private String querySubscriptionAndUpdateCache(String notificationId) throws AppException, SubscriptionException {
ISubscriptionService service = subscriptionFactory.create(headers);
List<Subscription> subscriptionList = service.query(notificationId);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment