You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Chris Dolan (JIRA)" <ji...@codehaus.org> on 2011/07/01 19:29:42 UTC

[jira] Commented: (WAGON-295) Provide more debug information in wagon (http request/response/headers)

    [ https://jira.codehaus.org/browse/WAGON-295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=272075#comment-272075 ] 

Chris Dolan commented on WAGON-295:
-----------------------------------

In my opinion, the biggest bang-for-buck would be to enhance LightweightHttpWagon.finishPutTransfer() to append the getErrorStream() body to the thrown TransferFailedException in some manner and also to make sure that the TransferListener implementation pulls that message out in debug mode. That would allow the Wagon to remain ignorant of the debug on/off setting. But it would either require 1) an unwieldy exception message, 2) an API change for TransferFailedException or 3) a change/extension to the TransferListener API

> Provide more debug information in wagon (http request/response/headers)
> -----------------------------------------------------------------------
>
>                 Key: WAGON-295
>                 URL: https://jira.codehaus.org/browse/WAGON-295
>             Project: Maven Wagon
>          Issue Type: Improvement
>            Reporter: Olivier Lamy
>             Fix For: 1.0-beta-8
>
>
> Is there any way to have more debug information concerning wagon with the option -e -X ?
> Like commons-httpclient does :
> - http requests
> - http response
> - http headers
> Thanks,
> - Olivier

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira