Skip to content

Commit

Permalink
Add a tiny bit of logging to work out what timelines are doing
Browse files Browse the repository at this point in the history
  • Loading branch information
turt2live authored and bwindels committed Apr 8, 2019
1 parent d153c4d commit 0ab4121
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/event-timeline.js
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ EventTimeline.prototype.getNeighbouringTimeline = function(direction) {
EventTimeline.prototype.setNeighbouringTimeline = function(neighbour, direction) {
if (this.getNeighbouringTimeline(direction)) {
throw new Error("timeline already has a neighbouring timeline - " +
"cannot reset neighbour");
"cannot reset neighbour (direction: " + direction + ")");
}

if (direction == EventTimeline.BACKWARDS) {
Expand Down

0 comments on commit 0ab4121

Please sign in to comment.