Try catch will save any kind of errors and throws ...
# suitescript
k
Try catch will save any kind of errors and throws where ever you want them to be, I personally use them In production and places email, then I will know where the error rising and what script, instead of throwing under log tab