This commit is contained in:
2025-03-11 00:14:51 +07:00
parent 25385c0798
commit 512fa4fd9d
3 changed files with 44 additions and 12 deletions

View File

@@ -319,7 +319,7 @@ function textToDict(text::String, detectKeywords::Vector{String};
od1[key] = str
remainingtext = remainingtext[1:keywordidx[1]-1]
else
error("""keyword "$keyword" not found in the provided text""")
error("""keyword "$keyword" not found in the provided text: $text </end of error note>""")
end
end