Skip to content

Debug: propagete missing askpass error instead of panic #8309

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 28, 2025

Conversation

krlvi
Copy link
Member

@krlvi krlvi commented Apr 28, 2025

The debug_assert! panics, which means the requests the frontend makes will never get a response. Which messes up reactivity in the app in a confusing way.

This change makes the error get propagated to the frontend

Will show this error message instead of panic
image

The `debug_assert!` panics, which means the requests the frontend makes will never get a response. Which messes up reactivity in the app in a confusing way.

This change makes the error get propagated to the frontend
Copy link

vercel bot commented Apr 28, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
gitbutler-components ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 28, 2025 8:22pm
gitbutler-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 28, 2025 8:22pm

@github-actions github-actions bot added rust Pull requests that update Rust code @gitbutler/desktop labels Apr 28, 2025
@krlvi krlvi enabled auto-merge April 28, 2025 20:21
@krlvi krlvi merged commit b7f845c into master Apr 28, 2025
20 checks passed
@krlvi krlvi deleted the fix-remote-commit-detection-1 branch April 28, 2025 20:26
@Byron
Copy link
Collaborator

Byron commented Apr 28, 2025

You are a hero!

@krlvi
Copy link
Member Author

krlvi commented Apr 28, 2025

You are a hero!

Mattias found it :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@gitbutler/desktop rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants