Skip to content

Commit

Permalink
Merge pull request #26 from bjornstar/master
Browse files Browse the repository at this point in the history
throw instead of return console.warn
  • Loading branch information
Ron Korving committed Nov 18, 2013
2 parents c592dd2 + 185e627 commit 7f76e17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ try {
}

if (!EventEmitter) {
return console.warn('Could not find EventEmitter, Tomes cannot start.');
throw new Error('Could not find EventEmitter, Tomes cannot start.');
}

function inherits(Child, Parent) {
Expand Down

0 comments on commit 7f76e17

Please sign in to comment.