Fix err.stderr not defined

This commit is contained in:
Alexandre Bodin 2019-10-16 11:37:42 +02:00
parent 7c8eda443e
commit 3f68d45cd2

View File

@ -39,7 +39,7 @@ module.exports = async function createQuickStartProject(scope) {
await trackUsage({
event: 'didNotBuildAdmin',
scope,
error: error.stderr.slice(-1024),
error,
});
await captureStderr('didNotBuildAdmin', error);
@ -62,7 +62,7 @@ module.exports = async function createQuickStartProject(scope) {
await trackUsage({
event: 'didNotStartServer',
scope,
error: error.stderr.slice(-1024),
error,
});
await captureStderr('didNotStartServer', error);