We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8902dd8 commit f712f31Copy full SHA for f712f31
.changes/add-notarize-error.md
@@ -0,0 +1,6 @@
1
+---
2
+"tauri-cli": patch:bug
3
+"@tauri-apps/cli": patch:bug
4
5
+
6
+Include notarization error output in the error message if it fails.
tooling/macos-sign/src/lib.rs
@@ -98,7 +98,10 @@ pub fn notarize(
98
.context("failed to upload app to Apple's notarization servers.")?;
99
100
if !output.status.success() {
101
- return Err(anyhow::anyhow!("failed to notarize app"));
+ return Err(
102
+ anyhow::anyhow!("failed to notarize app")
103
+ .context(String::from_utf8_lossy(&output.stderr).into_owned()),
104
+ );
105
}
106
107
let output_str = String::from_utf8_lossy(&output.stdout);
0 commit comments