cloudcms-server 3.2.340 → 3.2.342
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,6 +385,10 @@ exports = module.exports = function()
|
|
|
385
385
|
|
|
386
386
|
return function (err, profile, info) {
|
|
387
387
|
|
|
388
|
+
if (err) {
|
|
389
|
+
console.log("Caught error on auth callback function: ", err, JSON.stringify(err));
|
|
390
|
+
}
|
|
391
|
+
|
|
388
392
|
if (err) {
|
|
389
393
|
return handleFailure(err, res);
|
|
390
394
|
}
|