mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
Fix some messages
This commit is contained in:
parent
6488aefdad
commit
6dfc6cd13e
@ -422,17 +422,11 @@ module.exports = function(RED) {
|
||||
|
||||
if (!dev) {
|
||||
//need to show that dev not currently found
|
||||
<<<<<<< HEAD
|
||||
console.log('Device not discovered yet');
|
||||
if (done) {
|
||||
done("Device not discovered yet")
|
||||
} else {
|
||||
node.error("Device not discovered yet",msg)
|
||||
=======
|
||||
console.log('no device found');
|
||||
if (done) {
|
||||
done()
|
||||
>>>>>>> Attempt to catch errors from wemo-lookup
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user