Skip to content

fix(settings): report failed external actions instead of rejecting silently - #917

Merged
thep0y merged 1 commit into
mainfrom
fix/settings-external-action-errors
Nov 26, 2026
Merged

thep0y merged 1 commit into
mainfrom
fix/settings-external-action-errors

Conversation

@thep0y

@thep0y thep0y commented Nov 26, 2026

Copy link
Copy Markdown
Collaborator

The About and Paths rows fired openUrl/openDir/openLogDir with void and no catch, so a refused shell call (no browser handler, a removed directory, a denied open) became an unhandled rejection and the control looked inert. They now go through one helper that logs the failure and shows a toast.

…lently

The About and Paths rows fired openUrl/openDir/openLogDir with void and no catch, so a refused shell call (no browser handler, a removed directory, a denied open) became an unhandled rejection and the control looked inert. They now go through one helper that logs the failure and shows a toast.
@coderabbitai

coderabbitai Bot commented Nov 26, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 59 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 2 included reviews currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 25230660-defd-4704-b7fc-4cab6083ed42
Commits

Reviewing files that changed from the base of the PR and between 04098bc and a4cea53.

Files selected for processing: 4

  • src/components/settings/AboutSection.tsx
  • src/components/settings/PathsSection.tsx
  • src/lib/external-action.test.ts
  • src/lib/external-action.ts
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@thep0y
thep0y merged commit ecdb1ff into main Nov 26, 2026
10 checks passed
@github-actions
github-actions Bot deleted the fix/settings-external-action-errors branch November 26, 2026 07:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant