Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove non-functional if-failed code and warn #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

goose121
Copy link

The way that the :if-failed argument to with-ftp-connection is
handled does not work. make-instance should never return nil, and
any errors signalled within initialize-instance will still be
signalled. I feel it would probably be futile to try and make it work
for the errors which this library signals, as connect-to-server
calls other functions which don't have an argument to avoid
signalling, so the client may be better served with ignore-errors or
similar.

The way that the `:if-failed` argument to `with-ftp-connection` is
handled does not work. `make-instance` should never return nil, and
any errors signalled within `initialize-instance` will still be
signalled. I feel it would probably be futile to try and make it work
for the errors which this library signals, as `connect-to-server`
calls other functions which don't have an argument to avoid
signalling, so the client may be better served with `ignore-errors` or
similar.
@pinterface
Copy link
Owner

pinterface commented Nov 30, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants