diff --git a/src/functions/awaitData.js b/src/functions/awaitData.js index 09fba0732..7d98fcf1e 100644 --- a/src/functions/awaitData.js +++ b/src/functions/awaitData.js @@ -13,6 +13,7 @@ module.exports = (d) => { data.result = eval(`d.data.awaitData`); } } catch (e){ + return d.aoiError.fnError(d, "custom", {}, e); } return { code: d.util.setCode(data),