Return-Path: X-Original-To: apmail-cordova-commits-archive@www.apache.org Delivered-To: apmail-cordova-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DFAC511ED0 for ; Wed, 9 Apr 2014 21:42:20 +0000 (UTC) Received: (qmail 75972 invoked by uid 500); 9 Apr 2014 21:42:20 -0000 Delivered-To: apmail-cordova-commits-archive@cordova.apache.org Received: (qmail 75936 invoked by uid 500); 9 Apr 2014 21:42:20 -0000 Mailing-List: contact commits-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list commits@cordova.apache.org Received: (qmail 75928 invoked by uid 99); 9 Apr 2014 21:42:19 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Apr 2014 21:42:19 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 9015894FD7F; Wed, 9 Apr 2014 21:42:19 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: purplecabbage@apache.org To: commits@cordova.apache.org Message-Id: <264826773f6e4540be36d4b53334f286@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: git commit: CB-6381 unexpected error object [WP8] Date: Wed, 9 Apr 2014 21:42:19 +0000 (UTC) Repository: cordova-plugin-device-orientation Updated Branches: refs/heads/dev d315f3b64 -> 051ecbaa7 CB-6381 unexpected error object [WP8] Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/commit/051ecbaa Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/tree/051ecbaa Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/diff/051ecbaa Branch: refs/heads/dev Commit: 051ecbaa7f00e213e25ba253355082bcf77100fe Parents: d315f3b Author: Jesse MacFadyen Authored: Wed Apr 9 14:42:03 2014 -0700 Committer: Jesse MacFadyen Committed: Wed Apr 9 14:42:03 2014 -0700 ---------------------------------------------------------------------- src/wp/Compass.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/blob/051ecbaa/src/wp/Compass.cs ---------------------------------------------------------------------- diff --git a/src/wp/Compass.cs b/src/wp/Compass.cs index c9e1c4d..d1ce894 100644 --- a/src/wp/Compass.cs +++ b/src/wp/Compass.cs @@ -142,7 +142,7 @@ namespace WPCordovaClassLib.Cordova.Commands { if (!DeviceCompass.IsSupported) { - DispatchCommandResult(new PluginResult(PluginResult.Status.ERROR, "{code:" + Not_Supported + "}")); + DispatchCommandResult(new PluginResult(PluginResult.Status.ERROR, Not_Supported)); } else {