Skip to content

Commit

Permalink
Missing phase name in Venia Webpack config error message (#331)
Browse files Browse the repository at this point in the history
* Missing phase details in Venia webpack errors

* Improved code formatting
  • Loading branch information
Igloczek authored and zetlen committed Oct 8, 2018
1 parent 652b221 commit 9fcfcee
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/venia-concept/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,9 @@ module.exports = async function(env) {
})
);
} else {
throw Error(`Unsupported environment phase in webpack config: `);
throw Error(
`Unsupported environment phase in webpack config: ${phase}`
);
}
return config;
};

0 comments on commit 9fcfcee

Please sign in to comment.