diff --git a/bin/sso/module.js b/bin/sso/module.js index cd043ff..0c3b84c 100644 --- a/bin/sso/module.js +++ b/bin/sso/module.js @@ -38,8 +38,9 @@ functions.authenticateUser = (obj, callback) => { try { if(typeof body !== "object") body = JSON.parse(body); return callback(err, body.access); - } catch(e) {} - callback(new Error("Body is misformed")); + } catch(e) { + callback(new Error("Body is misformed")); + } }); };