It seems like if
DDP.connect(url) fails it throws an error, but wrapping it in a try/catch doesn’t catch the error. Is there a way to catch that error and handle it appropriately?
I’ve added an HTTP health check endpoint and I’m making a request to that before I make a
DDP.connect() call so it should be fine, but I’d like to be able to gracefully handle if the connection doesn’t work.