Make WordPress Core

Opened 21 months ago

Closed 21 months ago

Last modified 21 months ago

#62382 closed defect (bug) (fixed)

Improve the error message shown when fetching Twemoji fails

Reported by: johnbillion Owned by: johnbillion
Priority: normal Milestone: 6.8
Component: Build/Test Tools Version:
Severity: normal Keywords: has-patch
Cc: Focuses:

Description

When running npm run precommit:emoji, a generic error message is shown if the list of Twemoji cannot be fetched. This makes it difficult to determine the actual cause of the problem. It's more useful to show the error message from git.

Change History (3)

This ticket was mentioned in PR #7765 on WordPress/wordpress-develop by @johnbillion.


21 months ago
#1

  • Keywords has-patch added

Trac ticket: https://core.trac.wordpress.org/ticket/62382

## Before

https://github.com/user-attachments/assets/9988cb29-7a6e-433d-9f03-a8b8c1d412b4

## After

https://github.com/user-attachments/assets/c7f575f3-5123-4ea0-aa06-07fad4dedde7

#2 @johnbillion
21 months ago

  • Owner set to johnbillion
  • Resolutionfixed
  • Status newclosed

In 59443:

Build/Test Tools: Improve the error message shown when fetching Twemoji fails.

This allows the full error message to be shown from the connection attempt instead of a generic error message.

Fixes #62382

Note: See TracTickets for help on using tickets.