maurermj08 / efetch

Evidence Fetcher (efetch) is a web-based file explorer, viewer, and analyzer.
Apache License 2.0
36 stars 7 forks source link

Hide plugins that require Elasticsearch when they cannot connect #6

Open maurermj08 opened 8 years ago

maurermj08 commented 8 years ago

Currently plugins that requires Elasticsearch are always visible even when Efetch cannot connect to Elasticsearch. Viewing these plugins results in a 500 response and a ConnectionError.

Add a check to all plugins that require Elasticsearch to "hide" when Efetch fails to connect to Elasticsearch.