Make WordPress Core

Opened 3 weeks ago

Closed 2 weeks ago

Last modified 2 weeks ago

#62382 closed defect (bug) (fixed)

Improve the error message shown when fetching Twemoji fails

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

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.


3 weeks 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
2 weeks ago

  • Owner set to johnbillion
  • Resolution set to fixed
  • Status changed from new to closed

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.