Merge pull request #4108 from strapi/chore/sentry-full-errors

Use stderr instead of message
This commit is contained in:
Alexandre BODIN 2019-09-26 15:37:46 +02:00 committed by GitHub
commit 8ac65379e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -93,6 +93,8 @@ module.exports = async function createProject(
loader.stop();
console.log(`Dependencies installed ${chalk.green('successfully')}.`);
} catch (error) {
error.message = error.stderr;
loader.stop();
await trackUsage({
event: 'didNotInstallProjectDependencies',