You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pu...@apache.org on 2012/04/20 23:33:30 UTC

[3/16] wp7 commit: debug output for exception in ProcessCommand

debug output for exception in ProcessCommand


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/commit/83ad22f0
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/tree/83ad22f0
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/diff/83ad22f0

Branch: refs/heads/master
Commit: 83ad22f0ad349b1bbdbc89d6fdd45889260f2f1f
Parents: 1cf9062
Author: Jesse MacFadyen <pu...@gmail.com>
Authored: Fri Apr 20 14:31:46 2012 -0700
Committer: Jesse MacFadyen <pu...@gmail.com>
Committed: Fri Apr 20 14:31:46 2012 -0700

----------------------------------------------------------------------
 framework/Cordova/NativeExecution.cs |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/83ad22f0/framework/Cordova/NativeExecution.cs
----------------------------------------------------------------------
diff --git a/framework/Cordova/NativeExecution.cs b/framework/Cordova/NativeExecution.cs
index 6bc52a5..466c1d9 100644
--- a/framework/Cordova/NativeExecution.cs
+++ b/framework/Cordova/NativeExecution.cs
@@ -104,8 +104,9 @@ namespace WP7CordovaClassLib.Cordova
                     {
                         bc.InvokeMethodNamed(commandCallParams.Action, commandCallParams.Args);
                     }
-                    catch (Exception)
+                    catch (Exception ex)
                     {
+                        Debug.WriteLine("Exception in ProcessCommand :: " + ex.Message);
                         bc.OnCommandResult -= OnCommandResultHandler;
                         bc.OnCustomScript -= OnCustomScriptHandler;