Skip to content

Commit

Permalink
Fix quotation mark in USFM parsing error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Nateowami authored and ddaspit committed Aug 6, 2024
1 parent 3911dd6 commit 136a3ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/SIL.Machine/Corpora/UsfmTextBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ protected override IEnumerable<TextRow> GetVersesInDocOrder()
catch (Exception ex)
{
var sb = new StringBuilder();
sb.Append($"An error occurred while tokenizing the text '{Id}`");
sb.Append($"An error occurred while tokenizing the text '{Id}'");
if (!string.IsNullOrEmpty(Project))
sb.Append($" in project '{Project}'");
sb.Append($". Error: '{ex.Message}'");
Expand All @@ -67,7 +67,7 @@ protected override IEnumerable<TextRow> GetVersesInDocOrder()
catch (Exception ex)
{
var sb = new StringBuilder();
sb.Append($"An error occurred while parsing the text '{Id}`");
sb.Append($"An error occurred while parsing the text '{Id}'");
if (!string.IsNullOrEmpty(Project))
sb.Append($" in project '{Project}'");
sb.Append($". Verse: {parser.State.VerseRef}, line: {parser.State.LineNumber}, ");
Expand Down

0 comments on commit 136a3ba

Please sign in to comment.