mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
print error to see
This commit is contained in:
parent
be0ef4e0c1
commit
7d8d8ec685
@ -101,6 +101,7 @@ class LocalMongoDBConnection(Connection):
|
|||||||
ssl=self.ssl,
|
ssl=self.ssl,
|
||||||
**MONGO_OPTS)
|
**MONGO_OPTS)
|
||||||
if self.login is not None and self.password is not None:
|
if self.login is not None and self.password is not None:
|
||||||
|
print('Test connexion', self.dbname, self.login, self.password)
|
||||||
client[self.dbname].authenticate(self.login, self.password)
|
client[self.dbname].authenticate(self.login, self.password)
|
||||||
else:
|
else:
|
||||||
logger.info('Connecting to MongoDB over TLS/SSL...')
|
logger.info('Connecting to MongoDB over TLS/SSL...')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user