Describe the bug
When using internal: Set custom variable value instead of internal: Set custom variable expression action to set a value with an expression, companion locks up.
I incorrectly chose set value to update a custom variable with an expression
To Reproduce
Create a custom variable: jf_segment
Create a button to increment the value of jf_segment by 1
Select Action internal: Set custom variable value with Value $(internal:custom_jf_segment) + 1
Press button.
Companion is frozen
Expected behavior
While this is caused by user error, it is fairly likely to happen as the actions are similar and relate to similar functions
The section on getting-started#3-custom-variables mentions that invalid expressions would be ignored.
Similar test/check should be done on value set to ensure they are valid as well
Screenshots

Environment
Companion Pi 2.2.0 running built 3694
Describe the bug
When using internal: Set custom variable value instead of internal: Set custom variable expression action to set a value with an expression, companion locks up.
I incorrectly chose set value to update a custom variable with an expression
To Reproduce
Create a custom variable: jf_segment
Create a button to increment the value of jf_segment by 1
Select Action internal: Set custom variable value with Value $(internal:custom_jf_segment) + 1
Press button.
Companion is frozen
Expected behavior
While this is caused by user error, it is fairly likely to happen as the actions are similar and relate to similar functions
The section on getting-started#3-custom-variables mentions that invalid expressions would be ignored.
Similar test/check should be done on value set to ensure they are valid as well
Screenshots

Environment
Companion Pi 2.2.0 running built 3694