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

Fix ui error when input block is linked to DS2408 and print trace in console on error #1885

Merged
merged 4 commits into from
Nov 8, 2024

Conversation

elcojacobs
Copy link
Member

DS2408 block failed to render when an input was attached.

Errors were propagated up the stack and lost all context, so only a very generic error was shown: 'something undefined in this block', making it hard to find the cause. By logging the trace in the console, we can find the offending line of code.

@elcojacobs elcojacobs merged commit b7f026d into BrewBlox:develop Nov 8, 2024
1 check passed
@elcojacobs elcojacobs deleted the fix/input-support branch November 8, 2024 11:51
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.

1 participant