Skip to content

Commit

Permalink
Merge pull request #840 from bstell/master
Browse files Browse the repository at this point in the history
Fix debug error report to output to the console.
  • Loading branch information
bstell committed Nov 5, 2015
2 parents 39c60d1 + a1ff4ec commit a084662
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@ tachyfont.Reporter.prototype.reportError = function(errNum, id, errInfo) {
}
}
this.addItem(name, msg);
this.sendReport();
if (goog.DEBUG) {
var keys = Object.keys(this.items_);
keys.sort();
Expand All @@ -159,6 +158,7 @@ tachyfont.Reporter.prototype.reportError = function(errNum, id, errInfo) {
}
// debugger; // Enable this when debugging the reporter.
}
this.sendReport();

// Restore any pre-existing items.
this.items_ = preexistingItems;
Expand Down

0 comments on commit a084662

Please sign in to comment.