Return-Path: X-Original-To: apmail-couchdb-commits-archive@www.apache.org Delivered-To: apmail-couchdb-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 733FF1070C for ; Fri, 27 Feb 2015 10:15:07 +0000 (UTC) Received: (qmail 6002 invoked by uid 500); 27 Feb 2015 10:15:07 -0000 Delivered-To: apmail-couchdb-commits-archive@couchdb.apache.org Received: (qmail 5953 invoked by uid 500); 27 Feb 2015 10:15:07 -0000 Mailing-List: contact commits-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list commits@couchdb.apache.org Received: (qmail 5944 invoked by uid 99); 27 Feb 2015 10:15:07 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2015 10:15:07 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 39E31E052F; Fri, 27 Feb 2015 10:15:07 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: robertkowalski@apache.org To: commits@couchdb.apache.org Message-Id: <9e34f4ee13e845238c8fd3fcf9aa1604@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: fauxton commit: updated refs/heads/master to 73baced Date: Fri, 27 Feb 2015 10:15:07 +0000 (UTC) Repository: couchdb-fauxton Updated Branches: refs/heads/master b29ad53cf -> 73bacedae Change debugging from console.log to console.error These were left in with commit 92834eae02eadc361de3a21ee1079d8f47af6492 (Centralize URLs) Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/73baceda Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/73baceda Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/73baceda Branch: refs/heads/master Commit: 73bacedae20d6eaeefa0607364c79c94ad862844 Parents: b29ad53 Author: michellephung@gmail.com Authored: Wed Feb 18 14:00:23 2015 -0500 Committer: Robert Kowalski Committed: Fri Feb 27 11:14:18 2015 +0100 ---------------------------------------------------------------------- app/core/api.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/73baceda/app/core/api.js ---------------------------------------------------------------------- diff --git a/app/core/api.js b/app/core/api.js index 019490b..f1ca478 100644 --- a/app/core/api.js +++ b/app/core/api.js @@ -80,16 +80,16 @@ function(FauxtonAPI, Layout, Router, RouteObject, utils, Store, constants, Flux) } return false; }); - + if (!_.isUndefined(url)) { return url; } if (!urlPaths[name]) { - console.log('could not find name ', name); + console.error('could not find name ', name); return ''; } if (!urlPaths[name][context]) { - console.log('could not find context ', context); + console.error('could not find context ', context); return ''; }