Skip to content

Provide a clearer error message when exceeding hal pin name length#494

Merged
jepler merged 1 commit intoLinuxCNC:masterfrom
jin-eld:clearer-errpr-message
Sep 2, 2018
Merged

Provide a clearer error message when exceeding hal pin name length#494
jepler merged 1 commit intoLinuxCNC:masterfrom
jin-eld:clearer-errpr-message

Conversation

@jin-eld
Copy link

@jin-eld jin-eld commented Sep 2, 2018

The maximum length of a pin name is calculated after an internal
construction of the string, which is not obvious to the user. The error
message will now print the constructed string, so that it becomes clear
why a "component_name.pin_name" combination, that is still shorter than the
maximum allowed size, fails.

Signed-off-by: Sergey 'Jin' Bostandzhyan jin@mediatomb.cc

The maximum length of a pin name is calculated after an internal
construction of the string, which is not obvious to the user. The error
message will now print the constructed string, so that it becomes clear
why a "component_name.pin_name" combination, that is still shorter than the
maximum allowed size, fails.

Signed-off-by: Sergey 'Jin' Bostandzhyan <jin@mediatomb.cc>
@jepler jepler merged commit 9eb50d8 into LinuxCNC:master Sep 2, 2018
@jin-eld jin-eld deleted the clearer-errpr-message branch September 2, 2018 15:19
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