mirror of
				https://github.com/strapi/strapi.git
				synced 2025-11-04 11:54:10 +00:00 
			
		
		
		
	Fix err.stderr not defined
This commit is contained in:
		
							parent
							
								
									7c8eda443e
								
							
						
					
					
						commit
						3f68d45cd2
					
				@ -39,7 +39,7 @@ module.exports = async function createQuickStartProject(scope) {
 | 
				
			|||||||
    await trackUsage({
 | 
					    await trackUsage({
 | 
				
			||||||
      event: 'didNotBuildAdmin',
 | 
					      event: 'didNotBuildAdmin',
 | 
				
			||||||
      scope,
 | 
					      scope,
 | 
				
			||||||
      error: error.stderr.slice(-1024),
 | 
					      error,
 | 
				
			||||||
    });
 | 
					    });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    await captureStderr('didNotBuildAdmin', error);
 | 
					    await captureStderr('didNotBuildAdmin', error);
 | 
				
			||||||
@ -62,7 +62,7 @@ module.exports = async function createQuickStartProject(scope) {
 | 
				
			|||||||
    await trackUsage({
 | 
					    await trackUsage({
 | 
				
			||||||
      event: 'didNotStartServer',
 | 
					      event: 'didNotStartServer',
 | 
				
			||||||
      scope,
 | 
					      scope,
 | 
				
			||||||
      error: error.stderr.slice(-1024),
 | 
					      error,
 | 
				
			||||||
    });
 | 
					    });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    await captureStderr('didNotStartServer', error);
 | 
					    await captureStderr('didNotStartServer', error);
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user