Change exits to success

This commit is contained in:
James 2019-10-08 10:02:55 -06:00
parent 3a5a649159
commit 1d50be0855
1 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ Toolkit.run(async tools => {
var eventModule = require(`./lib/handlers/${handlerRef}`);
} catch (e) {
console.log(e)
return tools.exit.neutral('Failed to load module for event. No action necessary.');
return tools.exit.success('Failed to load module for event. No action necessary.');
}
const moduleAction = eventModule[tools.context.payload.action] || eventModule[tools.context.payload.ref_type];
@ -20,7 +20,7 @@ Toolkit.run(async tools => {
console.log(tools.context.payload);
if (!moduleAction) {
return tools.exit.neutral('Failed to find sub handler. No action necessary.');
return tools.exit.success('Failed to find sub handler. No action necessary.');
}
try {