Skip to content

Commit

Permalink
Small fix on error
Browse files Browse the repository at this point in the history
  • Loading branch information
ombr committed Aug 17, 2012
1 parent 788fb09 commit 1ded0a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/component.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ module.exports = class Component
#!TODO Make a better check error
checkErr : (err)->
if err != null
throw err
throw new Error(err)

###
# Express route encapsulation
Expand Down

0 comments on commit 1ded0a7

Please sign in to comment.