mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-11-24 04:03:52 +03:00
fix(cli): add notarize error (#10639)
* fix: add notarize error * add change file
This commit is contained in:
parent
8902dd8137
commit
f712f31d1d
6
.changes/add-notarize-error.md
Normal file
6
.changes/add-notarize-error.md
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
"tauri-cli": patch:bug
|
||||
"@tauri-apps/cli": patch:bug
|
||||
---
|
||||
|
||||
Include notarization error output in the error message if it fails.
|
@ -98,7 +98,10 @@ pub fn notarize(
|
||||
.context("failed to upload app to Apple's notarization servers.")?;
|
||||
|
||||
if !output.status.success() {
|
||||
return Err(anyhow::anyhow!("failed to notarize app"));
|
||||
return Err(
|
||||
anyhow::anyhow!("failed to notarize app")
|
||||
.context(String::from_utf8_lossy(&output.stderr).into_owned()),
|
||||
);
|
||||
}
|
||||
|
||||
let output_str = String::from_utf8_lossy(&output.stdout);
|
||||
|
Loading…
Reference in New Issue
Block a user