1
1
Fork 0
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:
Zack Scholl 2019-05-02 17:12:19 -07:00
parent 6f5225ac91
commit 38e7cae977

View file

@ -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
}