-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bug] Tauri swallowed Wix (candle.exe) 's error output #12148
Comments
This is more or less intended. You should run Whether or not hiding everything by default is a good idea is debatable but at least we're consistent about that (same behavior on all platforms). |
tauri-bundler crate (which is used by dioxus) also swallowed Wix (candle.exe) 's error output:
17.527s ERROR Failed to bundle project: BundlerError(
Error {
context: "error running candle.exe",
source: GenericError(
"failed to run C:\\Users\\liigo\\AppData\\Local\\tauri\\WixTools314\\candle.exe",
),
},
)
17.532s ERROR err=BundleFailed(BundlerError(error running candle.exe
Caused by:
`failed to run C:\Users\liigo\AppData\Local\tauri\WixTools314\candle.exe`)) ( there is a link to DioxusLabs/dioxus#3233 ) |
Sounds like they don't use tauri-bundler's |
Yes you're right, thanks. Dioxus' Edit: they do use tauri-bundler's log_level api (set to Debug, see following), but, I still can't see tauri-bundler's logs. I guess the reason maybe is, dioxus-cli uses https://docs.rs/crate/dioxus-cli/0.6.1/source/src/cli/bundle.rs#208
Edit 2: they disabled log:
|
That is unfortunate then because those feature flags also "break" |
Describe the bug
When run
cargo tauri build
, tauri swallowed Wix (candle.exe) 's error output, and that makes it hard to find the root error.The swallowed error is (you only got this untill you run candle.exe manually):
see DioxusLabs/dioxus#3233 and DioxusLabs/dioxus-template#58
Reproduction
step 1: set
"identifier": ""
intauri.conf.json
(to get a bad main.wxs)step 2: run
cargo tauri build
Expected behavior
Instead of a just saying
failed to run candle.exe
, it should output the detail error at least contains:Full
tauri info
outputAdditional context
The text was updated successfully, but these errors were encountered: