diff --git a/cmd/serve/ftp/ftp.go b/cmd/serve/ftp/ftp.go index b6b038d04..27e95dc28 100644 --- a/cmd/serve/ftp/ftp.go +++ b/cmd/serve/ftp/ftp.go @@ -261,7 +261,9 @@ func (s *server) CheckPasswd(user, pass string) (ok bool, err error) { delete(s.pending, id) s.pendingMu.Unlock() if d == nil { - return false, errors.Errorf("proxy login failed: failed to find pending Driver under ID %q", id) + err := errors.Errorf("proxy login failed: failed to find pending Driver under ID %q", id) + fs.Errorf(nil, "Error %v", err) + return false, err } d.vfs = VFS } else {