Closed Bug 1733257 Opened 4 years ago Closed 4 years ago

JSON parsing errors in policy provide no useful information

Categories

(Firefox :: Enterprise Policies, defect)

defect

Tracking

()

RESOLVED FIXED
94 Branch
Tracking Status
firefox-esr91 --- fixed
firefox94 --- fixed

People

(Reporter: mkaply, Assigned: mkaply)

Details

Attachments

(1 file)

We have a user who is getting JSON parsing errors but the JSON is correct.

We should be outputting the real error instead of just saying "error parsing"

Assignee: nobody → mozilla
Status: NEW → ASSIGNED
Pushed by mozilla@kaply.com: https://hg.mozilla.org/integration/autoland/rev/f7d71bad23de Show better errors when policy JSON fails. r=emalysz
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 94 Branch

Comment on attachment 9243567 [details]
Bug 1733257 - Show better errors when policy JSON fails. r?emalysz!

ESR Uplift Approval Request

  • If this is not a sec:{high,crit} bug, please state case for ESR consideration: Policy only, parity with 94, nice to have with debugging
  • User impact if declined: None, but easier to debug
  • Fix Landed on Version: 94
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Just adds some debug info.
  • String or UUID changes made by this patch:
Attachment #9243567 - Flags: approval-mozilla-esr91?

Comment on attachment 9243567 [details]
Bug 1733257 - Show better errors when policy JSON fails. r?emalysz!

Approved for 91.3esr.

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

Attachment

General

Created:
Updated:
Size: