fix serialcom MotorError raising