Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[Bug]: Desktop updater failures log no underlying error

Open Beginner friendly
#13,977 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
86/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
electron, typescript

Research direction

Read DesktopUpdates.ts and inspect the three logUpdaterError handlers, then trace how ElectronUpdater*Error values expose their cause. Verify the desktop updater paths for cancelled pkexec prompts, download failures, and checksum mismatches. Done means the logs retain the underlying failure detail instead of showing only the shared message.

Written by the indexing model from the issue text.

Description

bug via-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
  1. On a .deb install, start an update and dismiss the pkexec password prompt. Or have the download fail (offline, 404).
  2. 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.

Dominant language
TypeScript
Stars
23.6k
Forks
6.1k
Avg merge
9h 26m
Merged PRs (30d)
340

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from pingdotgg/t3code

All issues in pingdotgg/t3code

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.