Should throwing an exception from within a wrap-mutate
plugin surface as a mutation error? It seems that the error is being swallowed somewhere.
hello @dehli, I found the issue on the part that filters the output, that was swallowing the error, fixed on master
on top of that, a few things I like to suggest after looking at your code:
- No need to provide plugin-id when using defplugin
- p.a.eql
alias should be used for async EQL, for sync it should be p.eql
Awesome, Iโll pull down latest! Also thanks for the suggestions! Thatโll clean up the code!
oh, since you were so fast
I acutally pushed a bug, but just fixed
c50d2e75dd084190c58c0e5a599c8e3f1a88d9ef
should be fine
Perfect! Will use that SHA ๐
Just validated that the fix worked as expected. Thanks for the quick fix!
ir should surface as a error value on the mutation response