ampproject / ampproject/amp.dev

Pixi: consolidate error handling

Open
#4,604 1 comment 0 reactions 0 assignees View on GitHub
Category: Pixi P2: Medium Type: Update
Dominant language
HTML
Stars
600
Forks
675
PR merge metrics
No merged PRs in 30d

Description

There are cases in which Pixi might fail during runtime without a exact user error for example when `AMP.getState` calls are failing, APIs returning unexpected responses, `amp-script` computations taking too long and triggering script shutdown, ...

We already handle some of them (sometimes with a simple `console.error`) but we should provide more helpful user feedback for those cases.

See https://github.com/ampproject/amp.dev/pull/4601#pullrequestreview-492583494 for examples.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.