Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Webstore User Even Script won't Log debug or audit but it will log error.
Hi all,
I've got a User Event script that I'm working on which triggers only for the Webstore. At the moment, I have a few functions that are working but for some reason I can't get the script to log.debug or log.audit, nothing comes out.
Log.error does log if an error occurs. I'm quite lost.
Part of the code I'm working on which isn't working, so I'm trying to log the details:
afterSubmit function that triggers and performs functions correctly, but also isn't logging:
Each of the try functions have catch error logs that will log
As you can see, although I've triggered the script multiple times, only the error log comes through:
0