stalbert
10/26/2021, 3:27 PMburkybang
10/26/2021, 3:54 PMlog.error('error', JSON.parse(JSON.stringify(e)))
, and it would show so much. In 2.1, only two properties are available for exception objects: message
and stack
. Interestingly stack
contains the message anyway. You can't just log the exception object with 2.1. You have to log the property that you want for it to show in the log like log.error('error', e.stack)
. This makes me believe that the properties must be getters.
This issue is no where near a roadblock though. Just a vary mild annoyance that is easy to workaround. Overall, I am really enjoying 2.1. I couldn't see myself going back.stalbert
10/26/2021, 4:12 PMburkybang
10/26/2021, 4:12 PMstalbert
10/26/2021, 4:13 PMdbarnett
10/26/2021, 4:26 PMcontext
isn't loading properly, I think you were on one of those threads.
also, I was seeing different behavior surrounding attempting to use some minimal SuiteScript API outside of main entry point "public" functions , where was technically allowed in SS2 but now gets error "Fail to evaluate script: SuiteScript API Modules are unavailable while executing your define callback"stalbert
10/26/2021, 4:31 PMdbarnett
10/26/2021, 4:34 PMburkybang
10/26/2021, 4:35 PMdbarnett
10/26/2021, 4:39 PMclientScriptModulePath
, the context is loaded as if it were a 1.0 script instead - so it passes the context arguments in as such https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/section_N2959270.htmlburkybang
10/26/2021, 4:51 PMeblackey
10/26/2021, 7:06 PMericbirdsall
10/26/2021, 9:06 PMmichoel
10/26/2021, 11:03 PMstalbert
10/27/2021, 1:47 AM