error message for record update and missing module

This commit is contained in:
Folkert 2020-07-14 23:24:30 +02:00
parent 27317110f2
commit 331a8ed5eb
8 changed files with 153 additions and 8 deletions

View file

@ -115,7 +115,11 @@ impl<'a> Env<'a> {
}
None => Err(RuntimeError::ModuleNotImported {
module_name,
ident: ident.into(),
imported_modules: self
.module_ids
.available_modules()
.map(|string| string.as_ref().into())
.collect(),
region,
}),
}