Default not returned bugfix

Catching a broad exception to ensure the return of the default, added te...sts, fixed a bug where obj.contains(obj) returned false, added test case.
I don't quite understan your point, if a default value was specified any errors would be undetected and the value will be returned, that's the expected behavior, if you want to detect exceptions, dont specify a default value, and the exception will be raise, why is it a bad flow?
Catching a specific exceptions in this case leave the chance that you miss something and an exception will be raised even if a default value is given.