Skip to content

Commit

Permalink
Improve error message for unknown atoms
Browse files Browse the repository at this point in the history
  • Loading branch information
theduke committed Apr 26, 2024
1 parent db77dd1 commit 0d7ad76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/wasix/src/runtime/package_loader/load_package_tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ fn load_binary_command(

let atom = atom.with_context(|| {
format!(
"The '{command_name}' command uses the '{atom_name}' atom, but it isn't present in the WEBC file"
"The '{command_name}' command uses the '{atom_name}' atom, but it isn't present in the WEBC file (package: {package_id})"
)
})?;

Expand Down

0 comments on commit 0d7ad76

Please sign in to comment.