Browse code

BM-13065 Fix: junits

David Phan authored on 13/04/2018 05:35:53
Showing 2 changed files
... ...
@@ -17,6 +17,7 @@ Require-Bundle: org.junit,
17 17
  net.bluemind.addressbook.userbook,
18 18
  net.bluemind.lib.vertx,
19 19
  net.bluemind.core.rest,
20
- net.bluemind.addressbook.api
20
+ net.bluemind.addressbook.api,
21
+ net.bluemind.authentication.service;bundle-version="3.1.0"
21 22
 
22 23
 
... ...
@@ -76,7 +76,8 @@ public class UserSubscriptionService implements IUserSubscription {
76 76
 		try {
77 77
 			sc = context.provider().instance(IInCoreAuthentication.class).buildContext(domainUid, subject);
78 78
 		} catch (Exception e) {
79
-			logger.warn("Cannot create context for {}@{}", subject, domainUid);
79
+			e.printStackTrace();
80
+			logger.warn("Cannot create context for {}@{}", subject, domainUid, e.getMessage());
80 81
 			return Collections.emptyList();
81 82
 		}
82 83