better debug for dyn comp verb issues
This commit is contained in:
parent
c6b4d19abf
commit
014de4007f
|
@ -57,12 +57,17 @@ export const dynamicAuxVerbs: Array<{
|
|||
{
|
||||
entry: {
|
||||
ts: 1527813914,
|
||||
i: 15179,
|
||||
p: "ورکول",
|
||||
f: "wărkawul",
|
||||
g: "",
|
||||
e: "to give (to him, her, them, others)",
|
||||
g: "warkawul",
|
||||
e: "to give (to him/her/it - towards third person)",
|
||||
r: 4,
|
||||
c: "v. trans.",
|
||||
i: 12350,
|
||||
pprtp: "ورکړی",
|
||||
pprtf: "wărkúRay",
|
||||
ec: "give,gives,giving,gave,given",
|
||||
a: 1,
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
|
@ -1142,7 +1142,7 @@ function getDynamicAuxVerb(entry: T.DictionaryEntryNoFVars): {
|
|||
const auxWordResult = dynamicAuxVerbs.find((a) => a.entry.p === auxWord);
|
||||
/* istanbul ignore next */
|
||||
if (!auxWordResult) {
|
||||
throw new Error("unknown auxilary verb for dynamic compound");
|
||||
throw new Error(`unknown auxilary verb ${auxWord} for dynamic compound`);
|
||||
}
|
||||
return {
|
||||
entry: removeFVarients(auxWordResult.entry),
|
||||
|
|
Loading…
Reference in New Issue