diff --git a/README.md b/README.md index 898c3e2..4181a8c 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ if err != nil { err = c.SetUTF8() if err != nil { - log.Fatal(err) + log.Error(err) } // Do something with the FTP conn diff --git a/client_test.go b/client_test.go index ea0fa81..3e209c8 100644 --- a/client_test.go +++ b/client_test.go @@ -31,6 +31,11 @@ func testConn(t *testing.T, disableEPSV bool) { t.Fatal(err) } + err = c.SetUTF8() + if err != nil { + t.Error(err) + } + err = c.NoOp() if err != nil { t.Error(err)