Skip to content

Commit 0ff2e80

Browse files
committed
blub
1 parent c881b10 commit 0ff2e80

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

simpleCommands.js

-6
Original file line numberDiff line numberDiff line change
@@ -137,15 +137,9 @@ Yamaha.prototype.SendXMLToReceiver= function(xml){
137137
uri: 'http://'+this.ip+'/YamahaRemoteControl/ctrl',
138138
body:xml
139139
}).delay(delay).then(function(response) {
140-
if (!response.body && !isPutCommand) {
141-
console.log("var1");
142-
return Promise.reject(reponse);
143-
}
144140
return response.body;
145141
}).catch(function(e) {
146142
console.log(e);
147-
//Generic catch-the rest, error wasn't TypeError nor
148-
//ReferenceError
149143
});
150144

151145
};

0 commit comments

Comments
 (0)