Skip to content

Commit

Permalink
Merge pull request #4622 from wasmerio/wasix-more-errors
Browse files Browse the repository at this point in the history
Improve error message for unknown atoms
  • Loading branch information
syrusakbary authored Apr 26, 2024
2 parents db77dd1 + 1ae237f commit 95726cf
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 package {package_id}"
)
})?;

Expand Down

0 comments on commit 95726cf

Please sign in to comment.