report error in pwm command if any