I have 2.1 restlet script, I am logging and return...
# suitescript
t
I have 2.1 restlet script, I am logging and returning the unknown errors, but don't know why this isn't catching errors. doesn't log any, and gives me in response.
{
    
"status": "error",
    
"message": "{}"
}
h
what does just logging e display?
t
Nothing, just {}
s
2.1 works differently, you can check eric's article... well at least in memory it was overlord Eric's article about differences between 2.1 and 2.0 JSON.stringify(e) doesn't work in 2.1 if I remember correctly. Something to do with the EMAC5... and things, it's beyond my realm, but... I think that's how it is... ahh here:
Copy code
<https://system.na0.netsuite.com/app/help/helpcenter.nl?fid=section_158755248128.html&whence=>