Skip to content

Gracefully exit when redis is not running #45

@wires

Description

@wires

thing currently keeps running when cannot connect with redis

Error: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED
    at RedisClient.flush_and_error (/Users/wires/r/erfgoed-locatie/histograph-core/node_modules/redis/index.js:149:13)
    at RedisClient.on_error (/Users/wires/r/erfgoed-locatie/histograph-core/node_modules/redis/index.js:191:10)
    at Socket.<anonymous> (/Users/wires/r/erfgoed-locatie/histograph-core/node_modules/redis/index.js:106:14)
    at Socket.emit (events.js:107:17)
    at net.js:459:14
    at process._tickCallback (node.js:355:11)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions