From 2f5b23addf377446c5cd8ea82f32c2cad1472426 Mon Sep 17 00:00:00 2001 From: Luca Frosini Date: Tue, 1 Dec 2020 15:39:06 +0100 Subject: [PATCH] Improved error message --- src/main/java/org/gcube/gcat/social/PortalUser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/gcube/gcat/social/PortalUser.java b/src/main/java/org/gcube/gcat/social/PortalUser.java index 9d2e6ee..f4157bc 100644 --- a/src/main/java/org/gcube/gcat/social/PortalUser.java +++ b/src/main/java/org/gcube/gcat/social/PortalUser.java @@ -83,7 +83,7 @@ public class PortalUser { oAuthUserProfile = objectMapper.readTree(ret); } catch(Exception e) { - throw new InternalServerErrorException(e); + throw new InternalServerErrorException("Unable to retrive Infrastructure User Information from Social Service", e); } } return oAuthUserProfile;