rmhollands
02/24/2021, 5:25 PMbattk
02/24/2021, 5:41 PMbattk
02/24/2021, 5:41 PMrmhollands
02/24/2021, 6:20 PMbattk
02/24/2021, 6:21 PMbattk
02/24/2021, 6:21 PMrmhollands
02/24/2021, 6:25 PMSandii
02/24/2021, 6:29 PMtry{}catch(e){}
syntax, e should definitely exist.battk
02/24/2021, 6:29 PMbattk
02/24/2021, 6:30 PMrmhollands
02/24/2021, 6:33 PMtry{}catch(e){log.debug('Execution error', e);}
rmhollands
02/24/2021, 6:33 PMbattk
02/24/2021, 6:35 PMbattk
02/24/2021, 6:35 PMbattk
02/24/2021, 6:35 PMObject.prototype.toString.call(e)
also works for complex casesSandii
02/24/2021, 6:38 PMe.message
typically gives enough information in the case of suitescript as wellrmhollands
02/24/2021, 6:41 PMrmhollands
02/24/2021, 6:47 PMrmhollands
02/24/2021, 6:48 PMrmhollands
02/24/2021, 6:48 PM