Skip to content

Commit

Permalink
Merge pull request #5034 from wasmerio/fix/show-compile-error
Browse files Browse the repository at this point in the history
Show the actual compilation error in SpawnError::CompileError
  • Loading branch information
Arshia001 committed Aug 22, 2024
2 parents e5a329a + 2d83778 commit 2c75579
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/wasix/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ pub enum SpawnError {
#[error(transparent)]
CacheError(crate::runtime::module_cache::CacheError),
/// Failed to compile the Wasmer process
#[error("compile error")]
#[error("compile error: {error:?}")]
CompileError {
module_hash: wasmer_types::ModuleHash,
error: wasmer::CompileError,
Expand Down

0 comments on commit 2c75579

Please sign in to comment.