Open Bug 1902241 Opened 5 months ago Updated 5 months ago

some errors are dumped simply as console.error: ({})

Categories

(Thunderbird :: General, defect)

defect

Tracking

(Not tracked)

People

(Reporter: mkmelin, Unassigned)

References

Details

Some of the errors we see in the native console, and logs, are output as console.error: ({}) which is not super useful.
In the error console they are shown with proper details.

This happens e.g. for comm/mail/components/addrbook/test/browser/browser_cardDAV_init.js for cases such as
https://searchfox.org/comm-central/rev/7ae782ce03a137bfd8674fc1cdcf10edfc1e6fb4/mailnews/addrbook/modules/CardDAVUtils.sys.mjs#197

Rejecting with just a normal error dumps the something useful instead (reject(new Error("Connection failure!!"));)

You need to log in before you can comment on or make changes to this bug.