Don't crash if debug logging can't list object attributes.
Remove unused call to lib.getSlotList().