Skip to content

Commit

Permalink
Better error handling in zlib.js
Browse files Browse the repository at this point in the history
  • Loading branch information
devongovett committed Aug 8, 2011
1 parent 73cf887 commit 12a8ad3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zlib.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ var FlateStream = (function() {
]), 5];

function error(e) {
console.error('Error: ' + e)
throw new Error(e)
}

function constructor(bytes) {
Expand Down

0 comments on commit 12a8ad3

Please sign in to comment.