Skip to content

Commit

Permalink
fix: handleError -> reportError
Browse files Browse the repository at this point in the history
  • Loading branch information
zouyaoji committed Oct 30, 2022
1 parent 590b584 commit c32997c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ function onFulfilledTileMap(this, response) {
function onRejected(this) {
const { TileProviderError, RuntimeError } = Cesium
const message = 'An error occurred while accessing ' + this._url + '.'
previousError = TileProviderError.handleError(previousError, this, this._errorEvent, message, 0, 0, 0, init.bind(this))
previousError = TileProviderError.reportError(previousError, this, this._errorEvent, message, 0, 0, 0, new Error(message))
this._readyPromise.reject(new RuntimeError(message))
}

Expand Down

0 comments on commit c32997c

Please sign in to comment.