bugs.core_3881_test. Extend the error reported for index/constraint violations to include the problematic key value