When attempting to change stepper current, if any setting is invalid, perhaps just spit out an error rather than causing the print to fail with a fatal error.
SET_TMC_CURRENT STEPPER=<name> CURRENT=<amps> HOLDCURRENT=<amps>
That is all. I lost a print because I typed “x” instead of “stepper_x”
I know it’s a user error and they should just enter it correctly, but mistakes happen and on large prints it can really suck.