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

Object created even if connection unsuccessful #2

Open
viharm opened this issue Dec 18, 2016 · 1 comment
Open

Object created even if connection unsuccessful #2

viharm opened this issue Dec 18, 2016 · 1 comment

Comments

@viharm
Copy link
Owner

viharm commented Dec 18, 2016

Release v02.03.00 checks for a connection to Aria2 and stores the result in an object variable.

Suggest replacing this approach with one that destroys object upon creation so the calling script can identify failed connection by a failed object creation.

@viharm
Copy link
Owner Author

viharm commented Sep 22, 2018

This will break backward compatibility, as the current validation approach is to check for Aria2 version.

@viharm viharm changed the title Fail object creation if connection unsuccessful Object created even if connection unsuccessful Sep 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant