Skip to content

Commit

Permalink
trivial: fix bug in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
jorendorff committed Apr 12, 2016
1 parent 56ed0b2 commit 5b2c1b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rga.js
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ Object.assign(RGA.AceEditorRGA.prototype, {
case "addRight":
if (this._index.has(op.w.timestamp)) {
// This character was already added.
throw new Error("bug - message delivered twice to " + this._id + ": ", JSON.stringify(op));
throw new Error("bug - message delivered twice to " + this.id + ": ", JSON.stringify(op));
}

var loc = this.getRowColumnAfter(op.t, op.w.timestamp);
Expand Down

0 comments on commit 5b2c1b7

Please sign in to comment.