Skip to content

Commit

Permalink
style: improve error message when wasmer version is not found
Browse files Browse the repository at this point in the history
  • Loading branch information
ayys committed Jan 4, 2025
1 parent 9f3ef8e commit b2fa5bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/install.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ fn install_version(
Some(rel) => rel,
None => {
return Err(anyhow::anyhow!(
"Wasmer release `{}` was not found",
"Wasmer release `{}` was not found.\nIf you are trying to install a prerelease version, try passing the `--prerelease` flag.",
version.unwrap()
))
}
Expand Down

0 comments on commit b2fa5bd

Please sign in to comment.