Skip to content

Commit

Permalink
name environment when can't find default
Browse files Browse the repository at this point in the history
  • Loading branch information
markbao committed Sep 22, 2011
1 parent 9c51480 commit a9e9927
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function envious () {
throw new Error('no default environment found');
} else if (this.default && !this[this.default]) {
// default not found
throw new Error('envious: no configuration found for default environment');
throw new Error('envious: no configuration found for default environment `' + this.default + '`');
} else if (this.default && this[this.default]) {
// return default
return this[this.default];
Expand Down

0 comments on commit a9e9927

Please sign in to comment.