Skip to content

Commit

Permalink
Merge pull request #4108 from strapi/chore/sentry-full-errors
Browse files Browse the repository at this point in the history
Use stderr instead of message
  • Loading branch information
alexandrebodin committed Sep 26, 2019
2 parents 6305bee + 7c84795 commit 8ac6537
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/strapi-generate-new/lib/create-project.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 8ac6537

Please sign in to comment.