Skip to content

Commit

Permalink
adding message to exception
Browse files Browse the repository at this point in the history
  • Loading branch information
Anis Kadri committed Apr 9, 2014
1 parent 909aa10 commit 7d85eaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Expand Up @@ -54,7 +54,7 @@ if (cli_opts.plugins_dir || cli_opts.project) {

process.on('uncaughtException', function(error) {
if (cli_opts.debug) {
console.error(error.stack);
console.error(error.message, error.stack);
} else {
console.error(error.message);
}
Expand Down

0 comments on commit 7d85eaa

Please sign in to comment.