Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Propagate errors from warnings.warn() calls
  • Loading branch information
youknowone committed Feb 1, 2026
commit fce2d7824fe86b736cbab5eecf1a3da53c8fbf21
2 changes: 1 addition & 1 deletion crates/vm/src/stdlib/warnings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ pub fn warn(
if let Ok(module) = vm.import("warnings", 0)
&& let Ok(func) = module.get_attr("warn", vm)
{
let _ = func.call((message, category.to_owned(), stack_level), vm);
func.call((message, category.to_owned(), stack_level), vm)?;
}
Ok(())
}
Expand Down