say connected

This commit is contained in:
Girish Ramakrishnan
2020-06-04 11:27:09 -07:00
parent 50dcf827a5
commit 865a549885

View File

@@ -84,6 +84,8 @@ function reconnect(callback) {
return setTimeout(reconnect.bind(null, callback), 10000);
}
debug('reconnect: connected to database');
connection.on('error', function (error) {
// by design, we catch all normal errors by providing callbacks.
// this function should be invoked only when we have no callbacks pending and we have a fatal error