Skip to content
Browse files

Close client response after logging

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>
  • Loading branch information...
1 parent 1fbeb55 commit 9713fa04b506032cb4c650409feba517b439dcfa @adreghiciu adreghiciu committed with cstamas Nov 15, 2012
View
3 ...client/src/main/java/org/sonatype/nexus/testsuite/client/internal/JerseyRemoteLogger.java
@@ -73,7 +73,8 @@ private void log( final String level, final String message, final Throwable t )
{
getNexusClient()
.serviceResource( "loghelper", queryParams )
- .get( ClientResponse.class );
+ .get( ClientResponse.class )
+ .close();
}
catch ( UniformInterfaceException e )
{

0 comments on commit 9713fa0

Please sign in to comment.
Something went wrong with that request. Please try again.