Skip to content

Commit

Permalink
Add debug log for location class
Browse files Browse the repository at this point in the history
  • Loading branch information
yma96 committed Aug 15, 2024
1 parent a35f5a4 commit 1c2b5c0
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
import org.commonjava.maven.galley.model.Transfer;
import org.commonjava.maven.galley.model.TransferOperation;
import org.commonjava.maven.galley.transport.htcli.Http;
import org.commonjava.maven.galley.transport.htcli.internal.model.WrapperHttpLocation;
import org.commonjava.maven.galley.transport.htcli.internal.util.TransferResponseUtils;
import org.commonjava.maven.galley.transport.htcli.model.HttpExchangeMetadata;
import org.commonjava.maven.galley.transport.htcli.model.HttpLocation;
Expand Down Expand Up @@ -104,6 +105,8 @@ protected boolean executeHttp()
{
try
{
logger.debug( "The location class: {}, is wrapper: {}", location.getClass().getName(),
location instanceof WrapperHttpLocation );
client = http.createClient( location );
response = client.execute( request, http.createContext( location ) );

Expand Down

0 comments on commit 1c2b5c0

Please sign in to comment.