Handles error when parsing report