You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/05/14 17:35:16 UTC

[jira] [Commented] (CB-6691) cordova plugin rm of depended plugin stops with warning, but then prints stack trace anyway

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

ASF subversion and git services commented on CB-6691:
-----------------------------------------------------

Commit 6f4022bd88b5fc2deca96121a0278c0c72f89e3f in cordova-lib's branch refs/heads/master from [~kamrik]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=6f4022b ]

CB-6691: Change some instances of Error() to CordovaError()

Full stack is printed out when Error is thrown, but only the message for
CordovaError. Left it as Error in several paces I wasn't sure about.


> cordova plugin rm of depended plugin stops with warning, but then prints stack trace anyway
> -------------------------------------------------------------------------------------------
>
>                 Key: CB-6691
>                 URL: https://issues.apache.org/jira/browse/CB-6691
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI, Plugman
>            Reporter: Michal Mocny
>            Assignee: Mark Koudritsky
>            Priority: Minor
>
> cordova plugin rm [any plugin that is <dependency> of another installed plugin]
> E.g.:
> Error: The plugin 'com.google.playservices' is required by (org.chromium.identity, org.chromium.syncFileSystem), skipping uninstallation.
>     at runUninstallPlatform (/Users/mmocny/dev/cordova/cordova-lib/cordova-lib/src/plugman/uninstall.js:183:30)
>     at Function.module.exports.uninstallPlatform (/Users/mmocny/dev/cordova/cordova-lib/cordova-lib/src/plugman/uninstall.js:55:12)
>     at /Users/mmocny/dev/cordova/cordova-lib/cordova-lib/src/cordova/plugin.js:188:58
>     at _fulfilled (/Users/mmocny/dev/cordova/cordova-lib/cordova-lib/node_modules/q/q.js:798:54)
>     at self.promiseDispatch.done (/Users/mmocny/dev/cordova/cordova-lib/cordova-lib/node_modules/q/q.js:827:30)
>     at Promise.promise.promiseDispatch (/Users/mmocny/dev/cordova/cordova-lib/cordova-lib/node_modules/q/q.js:760:13)
>     at /Users/mmocny/dev/cordova/cordova-lib/cordova-lib/node_modules/q/q.js:821:14
>     at flush (/Users/mmocny/dev/cordova/cordova-lib/cordova-lib/node_modules/q/q.js:108:17)
>     at process._tickCallback (node.js:339:11)
>     at Function.Module.runMain (module.js:492:11)



--
This message was sent by Atlassian JIRA
(v6.2#6252)