Open tusharvikky opened 10 years ago
Hello, Either we could just throw Unable to connect to server, Please contact Server Admin. -or- something like this.
https://github.com/purekid/mongodm/blob/master/src/Purekid/Mongodm/MongoDB.php#L189
Throwing the hostname connection is done by MongoDB. However you bring up a good point with regards to security. Maybe we could add a catch for those and route them to Mongodb style exceptions.
Hello, Either we could just throw Unable to connect to server, Please contact Server Admin. -or- something like this.
https://github.com/purekid/mongodm/blob/master/src/Purekid/Mongodm/MongoDB.php#L189