summaryrefslogtreecommitdiff
path: root/cli/module_loader.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/module_loader.rs')
-rw-r--r--cli/module_loader.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/module_loader.rs b/cli/module_loader.rs
index 5465ad1b8..73fd2f5f4 100644
--- a/cli/module_loader.rs
+++ b/cli/module_loader.rs
@@ -163,7 +163,7 @@ impl ModuleLoadPreparer {
// validate the integrity of all the modules
graph_lock_or_exit(graph, &mut lockfile);
// update it with anything new
- lockfile.write()?;
+ lockfile.write().context("Failed writing lockfile.")?;
}
// save the graph and get a reference to the new graph