Clean up error logs in WebConsole when a valid device is detected

RESOLVED FIXED

Status

Firefox OS
B2gInstaller
RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: jlorenzo, Assigned: gerard)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

2 years ago
STR
1. Open b2g-installer
2. Plug a regular non up-to-date flame

Results
You get the following errors logs:
> Property match failure ro.semc.product.model expected one of Array [ "D5803", "D5833" ] but got undefined about.js:753:11
> Property match failure ro.product.device expected one of Array [ "mako" ] but got flame about.js:753:11
> Property match failure ro.semc.product.model expected one of Array [ "D5803", "D5833" ] but got undefined about.js:753:11
> Property match failure ro.product.device expected one of Array [ "hammerhead" ] but got flame about.js:753:11
> Property match failure ro.product.device expected one of Array [ "mako" ] but got flame about.js:753:11
> Property match failure ro.product.device expected one of Array [ "hammerhead" ] but got flame
(Assignee)

Comment 1

2 years ago
That was done as part of debugging. Let's make it a console.debug() call. And we need to fix bug 1191728 of course.
(Assignee)

Updated

2 years ago
Depends on: 1191728
(Assignee)

Comment 2

2 years ago
Created attachment 8711855 [details] [diff] [review]
Change property detection error to debug
Attachment #8711855 - Flags: review?(dale)
(Assignee)

Updated

2 years ago
Assignee: nobody → lissyx+mozillians
(Assignee)

Updated

2 years ago
Attachment #8711855 - Flags: review?(dale) → review+
(Assignee)

Comment 3

2 years ago
Created attachment 8713130 [details] [review]
PR of the patch
Attachment #8713130 - Flags: review+
(Assignee)

Comment 4

2 years ago
https://github.com/mozilla-b2g/b2g-installer/commit/d5968938bf23543902d2c7597ae444c393f4c63e
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.