Skip to content
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.

Entire application fails when one plugin fails to load #54

Open
deepal opened this issue Aug 24, 2016 · 1 comment
Open

Entire application fails when one plugin fails to load #54

deepal opened this issue Aug 24, 2016 · 1 comment

Comments

@deepal
Copy link

deepal commented Aug 24, 2016

I found this problem (for me at least), in this module while using it in my application. When the application loads, and if loading of one plugin fails, the entire application fails. This is a considerable problem when you are developing a pluggable application where a set of developers implement the core of the applications and some others develop plugins for it. When one plugin fails, it affects the entire application.

I prefer if there's a way to only load the modules which were successfully loaded. And also +1 if I can get a list of failed modules so that I can display custom error log messages to identify them. I hope to create a fix for this and create a pull request if this issue seems sensible.

@nightwing
Copy link
Contributor

In the new version used in c9 list of unresolved modules is passed with the error #55
We are using it to retry createApp https://github.com/c9/core/blob/master/plugins/c9.vfs.standalone/www/test.js#L543 but an option to start app even if some plugins have failed might be indeed useful

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

No branches or pull requests

2 participants