Browse Source

common add aop dependency

lepdou 9 years ago
parent
commit
ef14205dcd

+ 4 - 0
apollo-common/pom.xml

@@ -34,6 +34,10 @@
 			<groupId>org.springframework.cloud</groupId>
 			<artifactId>spring-cloud-starter-spectator</artifactId>
 		</dependency>
+		<dependency>
+			<groupId>org.springframework.boot</groupId>
+			<artifactId>spring-boot-starter-aop</artifactId>
+		</dependency>
 		<dependency>
 			<groupId>org.springframework.data</groupId>
 			<artifactId>spring-data-commons</artifactId>

+ 2 - 0
apollo-portal/src/main/java/com/ctrip/apollo/portal/service/ConfigService.java

@@ -150,6 +150,8 @@ public class ConfigService {
       enrichChangeSetBaseInfo(changeSets);
       itemAPI.updateItems(appId, env, clusterName, namespaceName, changeSets);
     } catch (Exception e) {
+      logger.error("itemAPI.updateItems error. appId{},env:{},clusterName:{},namespaceName:{}", appId, env, clusterName,
+                   namespaceName);
       throw new ServiceException("oops! call admin service config error. ");
     }