Skip to content

fix: throw on custom protocol IPC fails#14377

Merged
Legend-Master merged 1 commit into
tauri-apps:devfrom
Legend-Master:fix-runcallback-after-catch
Oct 28, 2025
Merged

fix: throw on custom protocol IPC fails#14377
Legend-Master merged 1 commit into
tauri-apps:devfrom
Legend-Master:fix-runcallback-after-catch

Conversation

@Legend-Master
Copy link
Copy Markdown
Contributor

Fix #14358

A regression from #13325, then actually runs if the catch itself didn't throw

@Legend-Master Legend-Master requested a review from a team as a code owner October 28, 2025 06:52
@github-actions
Copy link
Copy Markdown
Contributor

Package Changes Through f340450

There are 1 changes which include tauri with patch

Planned Package Versions

The following package releases are the planned based on the context of changes in this pull request.

package current next
tauri 2.9.1 2.9.2

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

([callbackId, data]) => {
window.__TAURI_INTERNALS__.runCallback(callbackId, data)
},
(e) => {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TIL that .then has a second onRejected arg Oo

@Legend-Master Legend-Master merged commit 28b9e7c into tauri-apps:dev Oct 28, 2025
9 checks passed
@Legend-Master Legend-Master deleted the fix-runcallback-after-catch branch October 28, 2025 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bug] undefined is not an object (evaluating '[callbackId, data]')

2 participants