Make failure to set an attribute log a message instead of causing the ta...

...sk to fail.