cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nikhilkh <...@git.apache.org>
Subject [GitHub] cordova-js pull request: CB-9366 Log error.stack as it helps with ...
Date Wed, 15 Jul 2015 21:19:28 GMT
Github user nikhilkh commented on the pull request:

    https://github.com/apache/cordova-js/pull/118#issuecomment-121752375
  
    If you have multiple calls to cordova methods and one of them might be missing a callback
or passing another incorrect argument (like in a scenario similar to the recent `new Media()`
bug) a call stack tells you in your code the line which might have resulting in that exception
causing your app to crash. The bug fixed in https://github.com/apache/cordova-plugin-media/commit/5f8738c5267be70562df9714e6f3971790b37d19
would have been much easier to identify from buildBot [ADB logs](https://ci.apache.org/builders/cordova-android-win/builds/31/steps/gathering-logs/logs/stdio)
if we had a stack. Instead, I had to get into the debugger to identify the issue.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org


Mime
View raw message