cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wuchangming <>
Subject [GitHub] cordova-weinre pull request: `func` sometimes is undefined
Date Tue, 08 Mar 2016 02:40:48 GMT
Github user wuchangming commented on the pull request:
    @pmuellr , It's because `Error.prepareStackTrace` is global scope.
    when I integrate `weinre` in my project, some awful happens in my OWN program and cause
    connect error: 
    "Error: connect ECONNREFUSED
        at Object.exports._errnoException (util.js:874:11)
        at exports._exceptionWithHostPort (util.js:897:20)
        at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1063:14)"
    then the code `Error.prepareStackTrace` will called. 
    Line 176    func = callSite.getFunction(); // func = undefined
    It's not fair to blame this bug to `weinre`, but It's effect my program indeed.
    Any good advice?

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 or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message