Skip to content

Commit 28c9ba2

Browse files
committed
Bugfix: Fix wrong exception message for LM ParseCSV
1 parent 6319f3a commit 28c9ba2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

general/LM.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ private static Dictionary<string, Dictionary<string, string>> ParseCSV(string pT
174174
var key = line[0];
175175

176176
if (string.IsNullOrEmpty(key)) continue;
177-
if (line.Length > languages.Length) throw new Exception($"Line {i} has more ',' than its head.");
177+
if (line.Length > languages.Length) throw new Exception($"Line {i} has more '{sep}' than its head.");
178178

179179
for (int j = 1; j < line.Length; j++)
180180
{

0 commit comments

Comments
 (0)