mirror of https://github.com/schollz/croc.git
document purged error
This commit is contained in:
parent
6f5225ac91
commit
38e7cae977
|
@ -388,6 +388,9 @@ func (c *Client) transfer(options TransferOptions) (err error) {
|
|||
}
|
||||
// purge errors that come from succesful transfer
|
||||
if c.SuccessfulTransfer {
|
||||
if err != nil {
|
||||
log.Debugf("purging error: %s", err)
|
||||
}
|
||||
err = nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue