mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 05:11:06 +02:00
document purged error
This commit is contained in:
parent
6f5225ac91
commit
38e7cae977
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue