AnalyticalGraphicsInc/cesium — pull request #1877 by mramato (2014-07-01 04:29:27+00:00)
Title: Make sure CZML and GeoJSON errors propagate properly

I noticed this the other day but forgot to fix it. This should go into b30

We need to use `otherwise` instead of a second argument to `when` so that exceptions thrown by invalid CZML propagate properly. Without this change, Cesium Viewer would freeze without an error dialog if anything went wrong during loading of CZML or GeoJSON, with this change you now get the proper error popup.