denshoproject / ddr-local

Web UI used for interacting with DDR collections and entities on a local machine.
Other
3 stars 0 forks source link

sync fails if Elasticsearch is not running #199

Closed gjost closed 4 years ago

gjost commented 8 years ago

The sync operation updates Elasticsearch after completion. If Elasticsearch is not running it fails:

NewConnectionError: <urllib3.connection.HTTPConnection object at 0x99067ac>: Failed to establish a new connection: [Errno 111] Connection refused

ddr-local should either ignore the error or (better) check before syncing and refuse to continue if ES is not running.

gjost commented 6 years ago

Merged in to develop.