Corrected an error where a missing message may not be logged properly.
Fixed two areas where ActiveResource errors would fail task unexpectedly.