cloudcms-server 3.2.349 → 3.2.351

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.
@@ -893,7 +893,7 @@ exports = module.exports = function()
893
893
  // if we failed to sync user
894
894
  if (result.failedUserSync)
895
895
  {
896
- return strategy.userSyncErrorHandler(err, req, res, next);
896
+ return strategy.userSyncErrorHandler(result.err, req, res, next);
897
897
  }
898
898
 
899
899
  // otherwise, we're in a failure state
@@ -1321,6 +1321,10 @@ exports = module.exports = function()
1321
1321
 
1322
1322
  if (err)
1323
1323
  {
1324
+ console.log("Authentication.Strategy.syncProfile error");
1325
+ console.log(err);
1326
+ try { console.log(JSON.stringify(err)); } catch (ee) { }
1327
+
1324
1328
  if (strategy.userSyncErrorHandler)
1325
1329
  {
1326
1330
  return done({
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  },
7
7
  "name": "cloudcms-server",
8
8
  "description": "Cloud CMS Application Server Module",
9
- "version": "3.2.349",
9
+ "version": "3.2.351",
10
10
  "repository": {
11
11
  "type": "git",
12
12
  "url": "git://github.com/gitana/cloudcms-server.git"