The StaleObjectError exception now takes a record parameter.