Skip to content

Commit

Permalink
fix: parser exception type
Browse files Browse the repository at this point in the history
  • Loading branch information
sun128764 committed Sep 21, 2023
1 parent c22d99d commit 285d701
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AssParser.Lib/AssParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public static async Task<AssSubtitleModel> ParseAssFile(StreamReader assStream)
style.Encoding = data[i];
break;
default:
throw new AssParserException($"Invalid style", assStream, formatLine, AssParserErrorType.InvalidStyle);
throw new AssParserException($"Invalid style", assStream, formatLine, AssParserErrorType.InvalidStyleLine);
}

}
Expand Down

0 comments on commit 285d701

Please sign in to comment.