Adding log message on parse error