Adding more logging to server log for cloud etc.
This commit is contained in:
parent
f7cf13059f
commit
76ce26c6b5
|
@ -31,15 +31,21 @@ exports.definition = {
|
||||||
type: "boolean",
|
type: "boolean",
|
||||||
description: "Whether the action was successful",
|
description: "Whether the action was successful",
|
||||||
},
|
},
|
||||||
|
message: {
|
||||||
|
type: "string",
|
||||||
|
description: "What was output",
|
||||||
},
|
},
|
||||||
required: ["success"],
|
},
|
||||||
|
required: ["success", "message"],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
exports.run = async function ({ inputs, appId }) {
|
exports.run = async function ({ inputs, appId }) {
|
||||||
console.log(`App ${appId} - ${inputs.text}`)
|
const message = `App ${appId} - ${inputs.text}`
|
||||||
|
console.log(message)
|
||||||
return {
|
return {
|
||||||
success: true,
|
success: true,
|
||||||
|
message,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue