Skip to content

Commit

Permalink
Fixed bug in error message
Browse files Browse the repository at this point in the history
* Fixed bug in error message

* Updated changelog
  • Loading branch information
jalaluhtala committed Oct 11, 2019
1 parent 059079e commit 47ac6a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ Version 3.1.0 - October 2019
----------------
* Update IndoorAtlas SDKs to 3.1.0
* Fixed setPosition for iOS and Android (#38, #39)
* Fixed bug in error message (#37)

Version 3.0.2 - September 2019
----------------
Expand Down
2 changes: 1 addition & 1 deletion www/IndoorAtlas.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ function IndoorAtlas() {
// none of the Cordova callbacks are supposed to fail, always report
// as status OUT_OF_SERVICE if something like this happens
function error(result) {
var message = 'internal error' + methodName + ' failed ' + JSON.stringify(result);
var message = 'internal error ' + JSON.stringify(result);
console.error('IndoorAtlas ERROR: ' + message);
if (callbacks.onStatus) {
callbacks.onStatus(CurrentStatus.OUT_OF_SERVICE, message);
Expand Down

0 comments on commit 47ac6a4

Please sign in to comment.