tauri icon indicating copy to clipboard operation
tauri copied to clipboard

[docs] How to analyze panic logs of production apps

Open gusxodnjs opened this issue 7 months ago • 0 comments

Hello. I am using the latest version of Tauri to build the app and operate the service. Thank you.

I am using Sentry to collect panic logs. However, it is difficult to find the cause of panic with Sentry logs.

Image

I am currently developing a production app with the settings below, and I think it is because I removed the debug settings. However, due to security issues, I cannot change this setting and provide it to users.

[profile.release]
panic = "abort" # "unwind"
codegen-units = 1
lto = true
opt-level = "s"
strip = true # false
debug = false # true

So I tried to build the app for Sentry, extract only the debug files, and then deploy it by removing only the debug information, but the debug information in Sentry did not match.

I do not have much experience using Rust and this is my first time developing a Tauri app, so I am not sure how to efficiently analyze the panic logs of the production app. Can you give me some advice on this?

gusxodnjs avatar May 26 '25 08:05 gusxodnjs