inventory: add better error for missing file
This commit is contained in:
@@ -68,7 +68,7 @@ let
|
||||
if (builtins.pathExists readme) then
|
||||
(builtins.readFile readme)
|
||||
else
|
||||
throw "No README.md found for module ${modulename}";
|
||||
throw "No README.md found for module ${modulename} (expected at ${readme})";
|
||||
in
|
||||
readmeContents;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user