Files
ThreadNet-Web/apps
5e25b3d96c Surface an error when a downloaded file can't be opened instead of failing silently (#33998)
Pressing "Open" on the download-complete toast called shell.openPath and discarded the
result with `void`. openPath resolves to a non-empty error string on failure (an empty
string means success), so when the file had been moved or deleted the open silently did
nothing and the user saw no response at all (#32273).

Await the result and, on a non-empty error, log it and show an error dialog carrying the
underlying error as its detail.

Co-authored-by: R Midhun Suresh <hi@midhun.dev>
2026-08-05 22:44:55 +00:00
..