forked from RnD/rotatingMachine
removed some old comments
This commit is contained in:
@@ -209,7 +209,6 @@ _callMeasurementHandler(measurementType, value, position, context) {
|
||||
|
||||
async handleInput(source, action, parameter) {
|
||||
|
||||
this.logger.debug("hello");
|
||||
//sanitize input
|
||||
if( typeof action !== 'string'){this.logger.error(`Action must be string`); return;}
|
||||
//convert to lower case to avoid to many mistakes in commands
|
||||
@@ -218,8 +217,6 @@ _callMeasurementHandler(measurementType, value, position, context) {
|
||||
// check for validity of the request
|
||||
if(!this.isValidActionForMode(action,this.currentMode)){return ;}
|
||||
if (!this.isValidSourceForMode(source, this.currentMode)) {return ;}
|
||||
|
||||
this.logger.debug("hello2");
|
||||
|
||||
this.logger.info(`Handling input from source '${source}' with action '${action}' in mode '${this.currentMode}'.`);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user