Closed Bug 1857923 Opened 2 years ago Closed 2 years ago

"Error in parser worker" errors from CalICSService.jsm are missing useful information.

Categories

(Calendar :: Internal Components, defect)

defect

Tracking

(thunderbird_esr115 fixed, thunderbird119 wontfix)

RESOLVED FIXED
120 Branch
Tracking Status
thunderbird_esr115 --- fixed
thunderbird119 --- wontfix

People

(Reporter: mkmelin, Assigned: mkmelin)

Details

(Whiteboard: [TM 115.4.1+])

Attachments

(1 file)

For invalid ics data we log things like this to the console:

Calendar: [CalICSService] Error in parser worker: [object Object] CalICSService.jsm:592
Calendar: Error Parsing ICS: 2147500037 CalIcsParser.jsm:145

This is kind of useless, as it should say what the problem is.
I'm going to fix this to make debugging more straight forwards.

Assignee: nobody → mkmelin+mozilla
Status: NEW → ASSIGNED
Target Milestone: --- → 120 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/0a321cb2cc86
Improve ICS parsing error messages. r=leftmostcat

Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED

Could take it on 115 later, but let's have it bake a bit. My main worry is that we would end up printing lots and lots of data in some cases and that would cause issues.

Whiteboard: [TM 115.4.1+]
Attachment #9357444 - Flags: approval-comm-esr115?

Comment on attachment 9357444 [details]
Bug 1857923 - Improve ICS parsing error messages. r=leftmostcat

[Triage Comment]
Approved for esr115

Attachment #9357444 - Flags: approval-comm-esr115? → approval-comm-esr115+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: