Skip to content

Commit 99dd184

Browse files
committed
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
1 parent b2c8d8d commit 99dd184

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Gruntfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1066,7 +1066,7 @@ module.exports = function(grunt) {
10661066
files = spawn( 'gh', [ 'api', 'graphql', '-f', query] );
10671067

10681068
if ( 0 !== files.status ) {
1069-
grunt.fatal( 'Unable to fetch Twemoji file list' );
1069+
grunt.fatal( files.stderr.toString() );
10701070
}
10711071

10721072
try {

0 commit comments

Comments
 (0)