Skip to content

Commit 744a2c4

Browse files
committed
Merge pull request #872 from AnalyticalGraphicsInc/logCesiumViewerError
CesiumViewer: log unhandled exceptions from startup
2 parents 66ee5a3 + 189a851 commit 744a2c4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Apps/CesiumViewer/CesiumViewer.js

+3
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ define([
4545
} else {
4646
loadingIndicator.style.display = 'none';
4747
}
48+
}).otherwise(function(e) {
49+
console.error(e);
50+
window.alert(e);
4851
});
4952

5053
function startup() {

0 commit comments

Comments
 (0)