[Bug]: Desktop updater failures log no underlying error
Author: TonybynMp4Created Sep 27, 2026Updated Sep 27, 2026
Labelsbugvia-triage
Before submitting
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area
apps/desktop
Steps to reproduce
- On a
.debinstall, start an update and dismiss thepkexecpassword prompt. Or have the download fail (offline, 404). - Check the desktop log.
Expected behavior
The log records why the update failed.
Actual behavior
Every failure logs the same fixed message, e.g. "Electron updater failed to download the update on channel nightly.", plus errorTag and channel. The ElectronUpdater*Error types capture the thrown value in cause, but the handlers in DesktopUpdates.ts never log it. A cancelled pkexec, a sha512 mismatch and a 404 all look identical.
Impact
Minor bug or occasional failure
Version or commit
0.0.43-nightly.20260927.2344 (.deb)
Environment
Ubuntu 26.04.1 LTS
Possible fix
Add cause: describeReadinessCause(error.cause) to the three logUpdaterError calls. This matters more now that .deb updates can fail inside pkexec/dpkg.
Source: pingdotgg/t3code