[ 
https://issues.apache.org/jira/browse/CB-9366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14626832#comment-14626832
 ] 

ASF GitHub Bot commented on CB-9366:
------------------------------------

Github user purplecabbage commented on the pull request:

    https://github.com/apache/cordova-js/pull/118#issuecomment-121336324
  
    I would leave this to userland.
    ```window.onerror = function(err,filename,lineNumber) {
      ...
    }```
    
    Also, on iOS this is going to look like :
    
callMe@file:///Users/purplecabbage/Library/Application%20Support/iPhone%20Simulator/7.1/Applications/F40363A6-5AFE-4E19-8125-A1A4C928595D/HelloCordova.app/www/js/index.js:12:13
    
iAmFunky@file:///Users/purplecabbage/Library/Application%20Support/iPhone%20Simulator/7.1/Applications/F40363A6-5AFE-4E19-8125-A1A4C928595D/HelloCordova.app/www/js/index.js:26:33
    
fire@file:///Users/purplecabbage/Library/Application%20Support/iPhone%20Simulator/7.1/Applications/F40363A6-5AFE-4E19-8125-A1A4C928595D/HelloCordova.app/www/cordova.js:750:28
    
file:///Users/purplecabbage/Library/Application%20Support/iPhone%20Simulator/7.1/Applications/F40363A6-5AFE-4E19-8125-A1A4C928595D/HelloCordova.app/www/cordova.js:223:53


> Log error.stack when a call to a plugin throws an exception
> -----------------------------------------------------------
>
>                 Key: CB-9366
>                 URL: https://issues.apache.org/jira/browse/CB-9366
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: CordovaJS
>    Affects Versions: Master
>            Reporter: Nikhil Khandelwal
>            Assignee: Nikhil Khandelwal
>            Priority: Minor
>
> This can help in isolating the cause of the error.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to