fix: print error message

This commit is contained in:
2025-02-21 16:36:07 +00:00
parent f45e6cbdc9
commit c61cfde5c1

View File

@ -363,7 +363,7 @@ impl ProxmoxClient {
if status.is_success() {
Ok(serde_json::from_str(&text)?)
} else {
bail!("{} {}: {}", method, path, status);
bail!("{} {}: {}: {}", method, path, status, &text);
}
}
}