added all functions
This commit is contained in:
@@ -37,7 +37,12 @@ const nodeInit: NodeInitializer = (RED): void => {
|
||||
}else{
|
||||
args = [msg.payload]
|
||||
}
|
||||
msg.payload = await member.apply(client,args)
|
||||
|
||||
try {
|
||||
msg.payload = await member.apply(client,args)
|
||||
} catch (err) {
|
||||
this.error(`Failed to call ${config.selection}: ${err}`)
|
||||
}
|
||||
|
||||
send(msg)
|
||||
}else{
|
||||
@@ -46,6 +51,7 @@ const nodeInit: NodeInitializer = (RED): void => {
|
||||
|
||||
done()
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
RED.nodes.registerType("ts3-call", Ts3Call);
|
||||
|
||||
Reference in New Issue
Block a user