1
0
mirror of https://github.com/schollz/croc.git synced 2024-11-24 08:02:33 +03: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)