Added log line with the error message.