Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined methodName in error() #37

Closed
wants to merge 3 commits into from

Conversation

RealHandy
Copy link

@RealHandy RealHandy commented Sep 19, 2019

When I called setPosition, it tried to report that I had the wrong number of elements in my arg array (see #38 regarding this other issue), but it was unable to show me that message because methodName was undefined in error().

(pls ignore the repeat of 'Fixed Android initial install crash bug.' -- I didn't do my branches and pull requests quite right).

Thanks!

@@ -95,7 +95,8 @@ 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' + methodName + ' failed ' + JSON.stringify(result);
var message = 'internal error ' + JSON.stringify(result);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right, this line is the correct version. We'll merge 5029fc5 in the near future. Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants