Log more information for the connection failure
This commit is contained in:
parent
64f57a2297
commit
aed3fb0e06
|
@ -233,7 +233,7 @@ DataSource.prototype.setup = function(name, settings) {
|
|||
this.emit('connected');
|
||||
} else {
|
||||
// The connection fails, let's report it and hope it will be recovered in the next call
|
||||
console.error(err);
|
||||
console.error('Connection fails: ', err, '\nIt will be retried for the next request.');
|
||||
this.connecting = false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue