the whole code block up the the return is on a try...
# suitescript
f
the whole code block up the the return is on a try/catch, so if there was an error it would display on the logs