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


git-svn-id: https://develop.svn.wordpress.org/trunk@59443 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn 2024-11-21 13:16:07 +00:00
parent b2c8d8d2c8
commit 99dd184af4

View File

@ -1066,7 +1066,7 @@ module.exports = function(grunt) {
files = spawn( 'gh', [ 'api', 'graphql', '-f', query] );
if ( 0 !== files.status ) {
grunt.fatal( 'Unable to fetch Twemoji file list' );
grunt.fatal( files.stderr.toString() );
}
try {