Skip to content

Commit

Permalink
remove components from module loading error message
Browse files Browse the repository at this point in the history
  • Loading branch information
mattwparas committed Nov 4, 2024
1 parent 358a72a commit cf7a3df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/steel-core/src/compiler/modules.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1828,7 +1828,7 @@ impl<'a> ModuleBuilder<'a> {
let mut err = crate::SteelErr::from(err);
err.prepend_message(&format!(
"Attempting to load module from: {:?} ",
module.components().collect::<Vec<_>>()
module
));
err.set_span(require_statement_span)
})?
Expand Down

0 comments on commit cf7a3df

Please sign in to comment.