Fix #124: wasn't catch exceptions when setting a property.