Add error logging message.