File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
clients/http-client-common/src/main/java/org/apache/servicecomb/http/client/common Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 2525import org .apache .http .util .EntityUtils ;
2626import org .apache .servicecomb .foundation .auth .SignRequest ;
2727import org .apache .servicecomb .http .client .auth .RequestAuthHeaderProvider ;
28+ import org .slf4j .Logger ;
29+ import org .slf4j .LoggerFactory ;
2830
2931/**
3032 * Created by on 2019/10/16.
3133 */
3234public class HttpTransportImpl implements HttpTransport {
35+ private static final Logger LOGGER = LoggerFactory .getLogger (HttpTransportImpl .class );
3336
3437 private static final String HEADER_CONTENT_TYPE = "Content-Type" ;
3538
@@ -106,6 +109,7 @@ private static SignRequest createSignRequest(String url) {
106109 signRequest .setEndpoint (uri );
107110 return signRequest ;
108111 } catch (Exception e ) {
112+ LOGGER .error ("create signRequest failed!" , e );
109113 return null ;
110114 }
111115 }
You can’t perform that action at this time.
0 commit comments