-
Notifications
You must be signed in to change notification settings - Fork 73
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
Please add a Default EventListener #2129
Comments
There is a default. Are you saying the behavior of the default should do something like log? |
While hacking with @swankjesse to set up redwood on a new project, we had to provide our own The event listener that we had to implement:
Which we added here during
Without that, all exceptions were silent and we were in the dark. It would have been nice to see the errors as it wasn't obvious to provide an event listener. I'll DM you a link to the commit. |
When doing an initial setup/integration it's not easy to know that you need to create one of these and override the correct methods.
Finally figured out an issue after creating one of these and implementing some of the error and lifecycle (loaded, etc) methods.
EventListener: https://github.com/cashapp/redwood/blob/d3b544d528b07edef5afdb5300d33d301c2950ff/redwood-treehouse-host/src/commonMain/kotlin/app/cash/redwood/treehouse/EventListener.kt
The text was updated successfully, but these errors were encountered: