1
0
mirror of https://github.com/schollz/croc.git synced 2024-11-28 09:35:14 +03: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
}