Closed phochste closed 10 years ago
store or bag only fail when excuting methods on them:
$b = Catmandu->store('MongoDB', database_name => 'test')->bag
Will return a bag even when there is no database running. You need to run a noop method on it to test the connection. This will die:
$b->first
Can this be changed?
This was a bug in the MongoDB::Client v0.704.1.0 which is fixed in v0.704.2.0
store or bag only fail when excuting methods on them:
Will return a bag even when there is no database running. You need to run a noop method on it to test the connection. This will die:
Can this be changed?