Skip to content
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

Add helpful entangle error message #2592

Merged

Conversation

joshhanley
Copy link
Member

Currently if you try to entangle a Livewire property that doesn't exist, you get this error (and it happens multiple times) and Alpine won't run after.

Screen Shot 2021-03-06 at 7 53 58 am

This PR adds a helpful console error message to entangle, so you know which property can't be found, and returns rather than throwing an error so Alpine continues running.

Screen Shot 2021-03-06 at 8 02 33 am

Hope this helps!

@calebporzio
Copy link
Collaborator

Thanks Josh!

@calebporzio calebporzio merged commit 6cdad7c into livewire:master Apr 4, 2021
@joshhanley
Copy link
Member Author

No worries 🙂

@joshhanley joshhanley deleted the improve-entangle-error-messages branch April 4, 2021 20:57
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.

None yet

2 participants