You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: cloudplatform/cloudplatform-connectivity/src/main/java/com/sap/cloud/sdk/cloudplatform/connectivity/DefaultHttpDestination.java
+1-9
Original file line number
Diff line number
Diff line change
@@ -1004,15 +1004,7 @@ public DefaultHttpDestination build()
1004
1004
returnproxyHandler.handle(this);
1005
1005
}
1006
1006
catch( finalExceptione ) {
1007
-
finalStringmsg =
1008
-
"""
1009
-
Unable to resolve proxy configuration for destination. \
1010
-
This destination cannot be used for anything other than reading its properties. \
1011
-
This is unexpected and will be changed to fail instead in a future version of Cloud SDK. \
1012
-
Please analyze the attached stack trace and resolve the issue. \
1013
-
In case only the properties of a destination should be accessed, without performing authorization flows, please use the 'getDestinationProperties' method on 'DestinationService' instead.\
1014
-
""";
1015
-
log.error(msg, e);
1007
+
thrownewDestinationAccessException("Unable to resolve proxy configuration for destination", e);
Copy file name to clipboardexpand all lines: cloudplatform/cloudplatform-connectivity/src/test/java/com/sap/cloud/sdk/cloudplatform/connectivity/DefaultHttpDestinationTest.java
Copy file name to clipboardexpand all lines: cloudplatform/cloudplatform-connectivity/src/test/java/com/sap/cloud/sdk/cloudplatform/connectivity/EnvVarDestinationLoaderTest.java
Copy file name to clipboardexpand all lines: cloudplatform/connectivity-oauth/src/test/java/com/sap/cloud/sdk/cloudplatform/connectivity/OAuth2ServiceBindingDestinationLoaderTest.java
0 commit comments