Skip to content

Improve error messages#1102

Open
Noarkhh wants to merge 6 commits intomasterfrom
improve-error-messages
Open

Improve error messages#1102
Noarkhh wants to merge 6 commits intomasterfrom
improve-error-messages

Conversation

@Noarkhh
Copy link
Contributor

@Noarkhh Noarkhh commented Mar 19, 2026

No description provided.

@Noarkhh Noarkhh requested review from FelonEkonom and varsill March 19, 2026 10:36
@Noarkhh Noarkhh linked an issue Mar 19, 2026 that may be closed by this pull request
Copy link
Member

@FelonEkonom FelonEkonom left a comment

Choose a reason for hiding this comment

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

Have you thought about adding option to disable the new warning? E.g. via config env or use opts. Especially when we count all redemands, instead of counting them separately for each pad. On the other hand, I maybe it is an overkill to add a big option just for a one, tiny, little warning 🤔

if type == :sink do
raise ActionError, action: action, reason: {:invalid_element, type}
else
state = %{state | uninterrupted_redemands: 0}
Copy link
Member

Choose a reason for hiding this comment

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

What about keeping a separate counter for each pad?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Review

2 participants