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:
parent
0fbe32caea
commit
e98117a847
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user