minor refactor for catching an exception
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/application-support-layer/applicationSupportLayerSocial@76833 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
eada0fda16
commit
c93dea756e
|
@ -64,7 +64,7 @@ public class ApplicationNotificationsManager extends SocialPortalBridge implemen
|
|||
List<NotificationChannelType> channels = null;
|
||||
try {
|
||||
channels = getStoreInstance().getUserNotificationChannels(notification2Save.getUserid(), notification2Save.getType());
|
||||
} catch (NotificationChannelTypeNotFoundException e) {
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
boolean result = false;
|
||||
|
|
Loading…
Reference in New Issue