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

def load() robustness #30

Open
voodoonofx opened this issue Feb 26, 2013 · 0 comments
Open

def load() robustness #30

voodoonofx opened this issue Feb 26, 2013 · 0 comments

Comments

@voodoonofx
Copy link

When placing the plugin path on a shared network resource which has a potentially flaky connection (Gasp, I know but there's a variety of reason a shared drive (even our GPFS) can go offline, even for 1 minute or so), shotgun should attempt to load the plugin, and failing an OSError, should gracefully refuse to reload the plugin instead of crash. This will have implications on startup if no plugins are able to be found (easy to detect).

For example, the code block at 560 -> 569 should be wrapped in a try, except (OSError), and an additional check should be made to loudly whine (or then crash/email, etc), if no plugins are loaded.

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

No branches or pull requests

1 participant