Skip to content

Conversation

@snacksbro
Copy link
Contributor

@snacksbro snacksbro commented Dec 11, 2025

This PR is part of a pair, with the other half of the changes being in trame-server.

This change exposes a new decorator for LifeCycle, on_error that allows the developer to define this as a decorator (like the existing ones like @life_cycle.server_ready) so errors occurring on the client can be seen in the server.

A demo example of this working is here: Kitware/trame#835 and relies both the changes in this PR and the PR in trame-server to be installed.

@snacksbro snacksbro marked this pull request as ready for review December 11, 2025 21:26
@snacksbro snacksbro changed the title feat(LifeCycle): Register on_error to LifeCycle feat(life-cycle): Register on_error to LifeCycle Dec 11, 2025
@codecov
Copy link

codecov bot commented Dec 13, 2025

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

@jourdain jourdain merged commit d14fed5 into Kitware:main Dec 13, 2025
13 checks passed
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.

2 participants