trafficcontrol-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From els...@apache.org
Subject [incubator-trafficcontrol] 28/36: Improve error message for invalid deepCachingType when parsing
Date Wed, 24 Jan 2018 17:23:37 GMT
This is an automated email from the ASF dual-hosted git repository.

elsloo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-trafficcontrol.git

commit 71a07a097cd5792c30745186499308aaa537c213
Author: Rawlin Peters <rawlin_peters@comcast.com>
AuthorDate: Fri Nov 10 11:47:27 2017 -0700

    Improve error message for invalid deepCachingType when parsing
---
 .../cdn/traffic_control/traffic_router/core/ds/DeliveryService.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/traffic_router/core/src/main/java/com/comcast/cdn/traffic_control/traffic_router/core/ds/DeliveryService.java
b/traffic_router/core/src/main/java/com/comcast/cdn/traffic_control/traffic_router/core/ds/DeliveryService.java
index e7d3727..3ac4ac9 100644
--- a/traffic_router/core/src/main/java/com/comcast/cdn/traffic_control/traffic_router/core/ds/DeliveryService.java
+++ b/traffic_router/core/src/main/java/com/comcast/cdn/traffic_control/traffic_router/core/ds/DeliveryService.java
@@ -155,7 +155,7 @@ public class DeliveryService {
 		try {
 			dct = DeepCachingType.valueOf(dctString);
 		} catch (IllegalArgumentException e) {
-			LOGGER.error("Unrecognized deepCachingType: '" + dct + "'. Defaulting to 'NEVER' instead");
+			LOGGER.error("DeliveryService '" + id + "' has an unrecognized deepCachingType: '" + dct
+ "'. Defaulting to 'NEVER' instead");
 		} finally {
 			this.deepCache = dct;
 		}

-- 
To stop receiving notification emails like this one, please contact
elsloo@apache.org.

Mime
View raw message