We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c4130d4 commit c4a2e73Copy full SHA for c4a2e73
sqlx-cli/src/prepare.rs
@@ -111,7 +111,9 @@ hint: This command only works in the manifest directory of a Cargo package."#
111
112
let output_str =
113
std::str::from_utf8(&output.stdout).context("Invalid `cargo metadata` output")?;
114
- let metadata: Metadata = output_str.parse()?;
+ let metadata: Metadata = output_str.parse().context(
115
+ "Issue parsing `cargo metadata` output - consider manually running it to check for issues",
116
+ )?;
117
118
// try removing the target/sqlx directory before running, as stale files
119
// have repeatedly caused issues in the past.
0 commit comments