1
0
mirror of https://github.com/schollz/croc synced 2024-07-05 09:08:53 +00: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)