i've tried this too, and still get a very unhelpfu...
# suitescript
d
i've tried this too, and still get a very unhelpful stacktrace:
Copy code
catch(err){
    if(err instanceof nlobjError){
        nlapiLogExecution("ERROR", err.code, "Error in myFunction(); " + err.message + "; " + err.getStackTrace());
    }
}
returns:
Copy code
[Ljava.lang.String;@62299187