Page MenuHomePhabricator

Instrument JS errors in UploadWizard
Closed, DeclinedPublic

Description

Migrated from: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/1013

Narrative

As a developer, I want to know where JS errors occur in thefunnel and howoften, so that I can prioritize hunting for them.

Acceptance Criteria

  • Add try-catch blocks to code entry points in UW (click handlers, esp. the next step handler, andupload + API request success/failure handlers)
  • Use EventLogging to report back errors (alternatively use the generic error logging architecture if it looks like it will be availablesoon-ish)

Related Bugs

Related Stories

Related Changesets

Event Timeline

MingleTerminator raised the priority of this task from to High.Dec 8 2014, 7:35 PM
In mingle on 2014-11-21 at 11:29:09, @Tgr wrote:

Based on a discussion with Robla.

Tgr added a subscriber: Tgr.Dec 30 2014, 9:26 PM

Use EventLogging to report back errors (alternatively use the generic error logging architecture if it looks like it will be availablesoon-ish)

Probably not worth doing, generic error logging via Sentry (T1345) seems much less effort than was expected.

Adding try-catch blocks to integrate with that logging (to display error ids to users) will still be needed though.

Tgr closed this task as Declined.Mar 6 2015, 1:41 AM
Tgr claimed this task.

Declining in favor of T91649