Fixed error message for log