Closed Bug 1230521 Opened 9 years ago Closed 9 years ago

Improve sync error logging

Categories

(Firefox OS Graveyard :: Sync, defect, P1)

ARM
Gonk (Firefox OS)

Tracking

(Not tracked)

RESOLVED WONTFIX
2.6 S7 - 2/12

People

(Reporter: mbdejong, Assigned: mbdejong)

References

Details

Attachments

(1 file)

We got an unhelpful error log that looks like this: > 12-03 15:35:23.184 2720 2720 E Sync : Content JS ERROR: [SyncEngine > Unrecoverable] [object Arguments] > 12-03 15:35:23.184 2720 2720 E Sync : at SyncEngine.UnrecoverableError > (app://sync.gaiamobile.org/shared/js/sync/engine.js:433:5) > 12-03 15:35:23.184 2720 2720 E Sync : at > SyncEngine.prototype._syncCollection/SyncEngine</< (app://sync.gaiamobile.org > /shared/js/sync/engine.js:297:17) > 12-03 15:35:23.194 321 321 E GeckoConsole: Content JS ERROR: Error while > trying to sync unrecoverable > 12-03 15:35:23.194 321 321 E GeckoConsole: at .doSync/< > (app://system.gaiamobile.org/js/sync_manager.js:662:11) We should make sure each point where errors are thrown or promises are rejected produces a clear message in the log.
Assignee: nobody → mbdejong
Blocks: fxos-sync
Severity: normal → major
Priority: -- → P1
Also: Content JS LOG: Inconsistent records on FxSync ID [object Object] [object Object] (should use JSON-stringify)
Target Milestone: --- → 2.6 S5 - 1/15
See also bug 1212777
Target Milestone: 2.6 S5 - 1/15 → 2.6 S7 - 2/12
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: