Skip to content

Commit

Permalink
Handle meteor error output
Browse files Browse the repository at this point in the history
Correctly handle strings passed as errors.
  • Loading branch information
Matt Hernandez committed Sep 24, 2014
1 parent 6a8261c commit 69b0ed6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/demeteorizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ demeteorizer.convert(
options,
function (err) {
if (err) {
console.log('Demeteorization failed:', err.message);
console.log('Demeteorization failed:', err.message || err);
process.exit(1);
} else {
console.log('Demeteorization complete.');
Expand Down

0 comments on commit 69b0ed6

Please sign in to comment.