Fix sink plugins

This commit is contained in:
Jonathan Turner
2019-08-09 19:54:21 +12:00
parent 83030094e0
commit cabd5bf009
4 changed files with 69 additions and 5 deletions

View File

@ -84,8 +84,11 @@ impl Shell for FilesystemShell {
s.span(),
));
} else {
//FIXME
return Err(ShellError::string(e.to_string()));
return Err(ShellError::labeled_error(
e.to_string(),
e.to_string(),
args.name_span(),
));
}
}
Ok(o) => o,