This repository was archived by the owner on May 30, 2024. It is now read-only.

Description
Simple use case:
ldclient.waitUntilReady().then(() => {
server.listen();
}).catch((error) => {
console.error(error);
process.exit(1);
})
When the client gets 401 error it stops trying to connect, which effectively means that initialisation failed, so I expect waitUntilReady to fail so I can fail to start my server and kill the app, but that never happens (although it logs the error).