Make ServeSession::new fallible

This commit is contained in:
Lucien Greathouse
2020-03-26 12:07:44 -07:00
parent 9c790eddd7
commit 03c297190d
4 changed files with 10 additions and 6 deletions

View File

@@ -44,7 +44,7 @@ pub fn build(options: BuildCommand) -> Result<(), anyhow::Error> {
let vfs = Vfs::new_default();
let session = ServeSession::new(vfs, &options.absolute_project());
let session = ServeSession::new(vfs, &options.absolute_project())?;
let mut cursor = session.message_queue().cursor();
{