1
1
Fork 0
mirror of https://github.com/schollz/croc.git synced 2025-10-11 13:21:00 +02:00

Handle more errors

This commit is contained in:
Zack Scholl 2017-10-17 22:11:40 -06:00
parent 0fbe32caea
commit e98117a847

View file

@ -86,6 +86,7 @@ func runClient(connectionType string, codePhrase string) {
log.Error(err)
return
}
log.Debug("writing [%s]", fileName)
err = ioutil.WriteFile(fileName, decrypted, 0644)
if err != nil {
log.Error(err)