Fix: Raise exception when failing to parse start or end in srt parser