diff --git a/aws-toolkit-eclipse-master/bundles/com.amazonaws.eclipse.core/src/com/amazonaws/eclipse/core/regions/RegionUtils.java b/aws-toolkit-eclipse-master/bundles/com.amazonaws.eclipse.core/src/com/amazonaws/eclipse/core/regions/RegionUtils.java index 1f17a6ab9..9df5519f4 100644 --- a/aws-toolkit-eclipse-master/bundles/com.amazonaws.eclipse.core/src/com/amazonaws/eclipse/core/regions/RegionUtils.java +++ b/aws-toolkit-eclipse-master/bundles/com.amazonaws.eclipse.core/src/com/amazonaws/eclipse/core/regions/RegionUtils.java @@ -201,7 +201,7 @@ public static Region getRegionByEndpoint(String endpoint) { targetEndpointUrl = new URL(endpoint); } catch (MalformedURLException e) { throw new RuntimeException( - "Unable to parse service endpoint: " + e.getMessage()); + "Unable to parse service endpoint: ", e); } String targetHost = targetEndpointUrl.getHost();