Closed benyamindfring closed 8 years ago
It should be relative straightforward to handle the error and produce a warning message instead - I'll take a look.
PR #10 covers this. You'll get a number of errors and warnings from Elasticsearch as the connection fails, but the application will continue to run.
Hi, when I input a wrong URL or block access on a real URL of ES, the whole node crashes due to the crash of this package.
if for example I configure the following, with a correct URL of a working ES, everything works great, but if for the sake of the test, I change the URL to something wrong, the node crashes with the error below.
working config:
crashing config:
this is the error from the node console logs:
any idea how to fix it? many thanks