cloudcms-server 3.2.341 → 3.2.343
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -356,7 +356,7 @@ exports = module.exports = function()
|
|
|
356
356
|
};
|
|
357
357
|
}
|
|
358
358
|
|
|
359
|
-
console.log("Auth Callback failed, err: " + JSON.stringify(err));
|
|
359
|
+
console.log("Auth Callback failed, err: " + err + ", err json: " + JSON.stringify(err));
|
|
360
360
|
|
|
361
361
|
if (err.message)
|
|
362
362
|
{
|
|
@@ -385,17 +385,8 @@ exports = module.exports = function()
|
|
|
385
385
|
|
|
386
386
|
return function (err, profile, info) {
|
|
387
387
|
|
|
388
|
-
console.log("z1: ", err);
|
|
389
388
|
if (err) {
|
|
390
|
-
console.log("
|
|
391
|
-
}
|
|
392
|
-
console.log("z2: ", profile);
|
|
393
|
-
if (profile) {
|
|
394
|
-
console.log("z2.2: ", JSON.stringify(profile, null, 2));
|
|
395
|
-
}
|
|
396
|
-
console.log("z3: " + info);
|
|
397
|
-
if (info) {
|
|
398
|
-
console.log("z3.2: ", JSON.stringify(info, null, 2));
|
|
389
|
+
console.log("Caught error on auth callback function: ", err, JSON.stringify(err));
|
|
399
390
|
}
|
|
400
391
|
|
|
401
392
|
if (err) {
|