Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 6B694200BC4 for ; Sat, 5 Nov 2016 02:14:38 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 69EEA160B04; Sat, 5 Nov 2016 01:14:38 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id AEC55160AFE for ; Sat, 5 Nov 2016 02:14:37 +0100 (CET) Received: (qmail 55913 invoked by uid 500); 5 Nov 2016 01:14:36 -0000 Mailing-List: contact commits-help@ponymail.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ponymail.incubator.apache.org Delivered-To: mailing list commits@ponymail.incubator.apache.org Received: (qmail 55904 invoked by uid 99); 5 Nov 2016 01:14:36 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Nov 2016 01:14:36 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 26BB6180A56 for ; Sat, 5 Nov 2016 01:14:36 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -6.219 X-Spam-Level: X-Spam-Status: No, score=-6.219 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id RYKMQDq0zec4 for ; Sat, 5 Nov 2016 01:14:35 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with SMTP id 124275F3BE for ; Sat, 5 Nov 2016 01:14:33 +0000 (UTC) Received: (qmail 55885 invoked by uid 99); 5 Nov 2016 01:14:33 -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; Sat, 05 Nov 2016 01:14:33 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 208FAE04EE; Sat, 5 Nov 2016 01:14:33 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: sebb@apache.org To: commits@ponymail.incubator.apache.org Message-Id: <19a95435c8fe4390bdd40672b0a9ccd3@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: incubator-ponymail git commit: Ensure that other errors are reported Date: Sat, 5 Nov 2016 01:14:33 +0000 (UTC) archived-at: Sat, 05 Nov 2016 01:14:38 -0000 Repository: incubator-ponymail Updated Branches: refs/heads/master 54774eba0 -> c15c29179 Ensure that other errors are reported Project: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/commit/c15c2917 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/tree/c15c2917 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/diff/c15c2917 Branch: refs/heads/master Commit: c15c2917959dde8870b81147c8fe542ce5c65f1e Parents: 54774eb Author: Sebb Authored: Sat Nov 5 01:14:18 2016 +0000 Committer: Sebb Committed: Sat Nov 5 01:14:18 2016 +0000 ---------------------------------------------------------------------- site/js/oauth.js | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/c15c2917/site/js/oauth.js ---------------------------------------------------------------------- diff --git a/site/js/oauth.js b/site/js/oauth.js index a01d2fe..89eb30c 100644 --- a/site/js/oauth.js +++ b/site/js/oauth.js @@ -42,6 +42,8 @@ function GetAsync(theUrl, xstate, callback) { } if (xmlHttp.readyState == 4 && xmlHttp.status == 404) { alert("404'ed: " + theUrl) + } else if (xmlHttp.readyState >= 4 && xmlHttp.status >= 400) { + popup("Internal Server Error", "Sorry, the request failed. The server responded with:
" + xmlHttp.responseText + "
", 20) } } }