From 6225b1e2fea4eb874b8656661d1ddb4ae5cbe787 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Fri, 24 Nov 2017 00:59:37 +0000 Subject: [PATCH] better error message --- oauth3.core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oauth3.core.js b/oauth3.core.js index 05dfe49..cc2a623 100644 --- a/oauth3.core.js +++ b/oauth3.core.js @@ -1030,7 +1030,7 @@ resolve(); }); img.addEventListener('error', function () { - var err = new Error("not an oauth3 issuer"); + var err = new Error("OAuth3 support not detected: '" + url + "' not found"); err.code = 'E_NOT_SUPPORTED'; reject(err); });