This should be fixable with a try...catch. If you ...
# suitescript
a
This should be fixable with a try...catch. If you throw an error and don't catch it in a User Event script, the error is just converted to a string, which is the ugly thing you're seeing