cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject git commit: explicit error messages for configuration updates
Date Wed, 27 Mar 2013 16:02:20 GMT
Updated Branches:
  refs/heads/master 00e769b5c -> 16f3b2403


explicit error messages for configuration updates


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugman/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugman/commit/16f3b240
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugman/tree/16f3b240
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugman/diff/16f3b240

Branch: refs/heads/master
Commit: 16f3b24031c0f15a618f0d3c6c4049bdf8f2a197
Parents: 00e769b
Author: Anis Kadri <anis@apache.org>
Authored: Wed Mar 27 09:02:10 2013 -0700
Committer: Anis Kadri <anis@apache.org>
Committed: Wed Mar 27 09:02:10 2013 -0700

----------------------------------------------------------------------
 platforms/ios.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/16f3b240/platforms/ios.js
----------------------------------------------------------------------
diff --git a/platforms/ios.js b/platforms/ios.js
index 6290ebc..42d51a5 100644
--- a/platforms/ios.js
+++ b/platforms/ios.js
@@ -319,11 +319,11 @@ function updateConfigXml(action, config_path, plugin_et) {
 	            children = configNode.findall('*');
 	        if( action == 'install') {
 	            if (!xml_helpers.graftXML(xmlDoc, children, selector)) {
-	                throw new Error('failed to add children to ' + filename);
+	                throw new Error('failed to add children to ' + selector + ' in ' + config_path);
 	            }
 	        } else {
 	            if (!xml_helpers.pruneXML(xmlDoc, children, selector)) {
-	                throw new Error('failed to remove children from' + filename);
+	                throw new Error('failed to remove children from ', selector + ' in ' + config_path);
 	            }
 	        }
 		});


Mime
View raw message