summaryrefslogtreecommitdiffstats
path: root/src/client/qianwen.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/qianwen.rs')
-rw-r--r--src/client/qianwen.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/qianwen.rs b/src/client/qianwen.rs
index 76cc712..68e3666 100644
--- a/src/client/qianwen.rs
+++ b/src/client/qianwen.rs
@@ -320,7 +320,7 @@ async fn upload(model: &str, api_key: &str, url: &str) -> Result<String> {
let status = res.status();
if res.status() != 200 {
let text = res.text().await?;
- bail!("{status}, {text}")
+ bail!("Invalid response data: {text} (status: {status})")
}
Ok(format!("oss://{key}"))
}