added relevant logging to identify reason for parsing errors