In a try/catch, why would this print {} as the det...
# suitescript
j
In a try/catch, why would this print {} as the details?
Copy code
catch (e) {
        log.error('Error:', e);
      }
Title: "Error:" Details: "{}" I thought catching e would catch the error message, but it seems as if there is no error message but it still failed?
a
code looks fine... is it possible there's a
throw
somewhere in the try that doesn't actually throw anything?
j
There are no throws, I opened up debug logging to see if it happens again, I tested myself and it was fine so I am waiting for someone else to encounter the issue as it happened 17 times today. Strange as it has never happened before
b