Use better error message for win api error

This commit is contained in:
2025-05-21 08:51:12 +08:00
parent 54cfb39786
commit 1938f35458
3 changed files with 63 additions and 2 deletions

View File

@@ -12,4 +12,4 @@ serde = { version = "1", features = ["derive"] }
serde_json = "1.0.140"
[target.'cfg(windows)'.dependencies]
windows-sys = { version = "0", features = ["Win32_Globalization"] }
windows-sys = { version = "0", features = ["Win32_Globalization", "Win32_System_Diagnostics_Debug"] }