From d407dfce54cae1ec204cee0ecbc292d72a7a5a7c Mon Sep 17 00:00:00 2001 From: Glenn Rempe Date: Fri, 13 May 2016 13:46:41 -0700 Subject: [PATCH] Add err handler in JS example --- examples/clients/javascript/app.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/clients/javascript/app.js b/examples/clients/javascript/app.js index ed9c3e9..637ec25 100644 --- a/examples/clients/javascript/app.js +++ b/examples/clients/javascript/app.js @@ -21,6 +21,10 @@ $(document).ready(function () { // sendSaltToServer(result.salt) // sendVerifierToServer(result.verifier) + if (err) { + console.log(err.stack); + } + var A = client.getPublicKey() // Auth Phase 1