Skip to content

Commit

Permalink
Animation: Throw error on failed layer loading.
Browse files Browse the repository at this point in the history
  • Loading branch information
Edan Schwartz committed Jul 11, 2014
1 parent df36725 commit 9e49b02
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/maps/animations/tileanimation.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,10 @@ define([
this.trigger('load:times', times, timeLayers);
}, this);

return this.animationLayerLoader_.load();
return this.animationLayerLoader_.load().
fail(function(err) {
throw err;
});
};


Expand Down

0 comments on commit 9e49b02

Please sign in to comment.