mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 13:21:00 +02:00
More errors
This commit is contained in:
parent
ebe14faf4c
commit
c42302d3de
1 changed files with 3 additions and 1 deletions
|
@ -292,7 +292,9 @@ func (c *Connection) runClient() error {
|
|||
if id == 0 {
|
||||
fmt.Printf("\n\nReceiving (<-%s)..\n", sendersAddress)
|
||||
}
|
||||
c.receiveFile(id, connection)
|
||||
if err := c.receiveFile(id, connection); err != nil {
|
||||
log.Error(errors.Wrap(err, "Problem receiving the file: "))
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue