Open chetbox opened 8 years ago
web_1 | Fri, 19 Feb 2016 13:25:46 GMT chetbot:db ERROR: Failed operation: users update { Key: { id: '292958' }, web_1 | UpdateExpression: 'SET emails.#address.disabled = :disabled', web_1 | ConditionExpression: 'attribute_exists(emails.#address)', web_1 | ExpressionAttributeNames: { '#address': 'alejandro@swiftkey.net' }, web_1 | ExpressionAttributeValues: { ':disabled': true }, web_1 | TableName: 'chetbot.users' } web_1 | Fri, 19 Feb 2016 13:25:46 GMT chetbot:db To item: users { Item: web_1 | { id: '292958', web_1 | provider: 'github', web_1 | admin: 1, web_1 | profileUrl: 'https://github.com/chetbox', web_1 | username: 'chetbox', web_1 | avatarUrl: 'https://avatars.githubusercontent.com/u/292958?v=3', web_1 | last_signed_in: 1455886983392, web_1 | displayName: 'Chetan Padia', web_1 | emails: web_1 | { 'chetbox@gmail.com': [Object], web_1 | 'chet@joindouble.com': [Object] }, web_1 | apps: Set { values: [Object], type: 'String' }, web_1 | access_token: 'e00f3b66e3feb1640cafb7a21d52dd0dc5c947b7' } } web_1 | ConditionalCheckFailedException: The conditional request failed web_1 | at Request.extractError (/opt/chetbot/server/node_modules/aws-sdk/lib/protocol/json.js:43:27) web_1 | at Request.callListeners (/opt/chetbot/server/node_modules/aws-sdk/lib/sequential_executor.js:105:20) web_1 | at Request.emit (/opt/chetbot/server/node_modules/aws-sdk/lib/sequential_executor.js:77:10) web_1 | at Request.emit (/opt/chetbot/server/node_modules/aws-sdk/lib/request.js:596:14) web_1 | at Request.transition (/opt/chetbot/server/node_modules/aws-sdk/lib/request.js:21:10) web_1 | at AcceptorStateMachine.runTo (/opt/chetbot/server/node_modules/aws-sdk/lib/state_machine.js:14:12) web_1 | at /opt/chetbot/server/node_modules/aws-sdk/lib/state_machine.js:26:10 web_1 | at Request.<anonymous> (/opt/chetbot/server/node_modules/aws-sdk/lib/request.js:37:9) web_1 | at Request.<anonymous> (/opt/chetbot/server/node_modules/aws-sdk/lib/request.js:598:12) web_1 | at Request.callListeners (/opt/chetbot/server/node_modules/aws-sdk/lib/sequential_executor.js:115:18) web_1 | at Request.emit (/opt/chetbot/server/node_modules/aws-sdk/lib/sequential_executor.js:77:10) web_1 | at Request.emit (/opt/chetbot/server/node_modules/aws-sdk/lib/request.js:596:14) web_1 | at Request.transition (/opt/chetbot/server/node_modules/aws-sdk/lib/request.js:21:10) web_1 | at AcceptorStateMachine.runTo (/opt/chetbot/server/node_modules/aws-sdk/lib/state_machine.js:14:12) web_1 | at /opt/chetbot/server/node_modules/aws-sdk/lib/state_machine.js:26:10 web_1 | at Request.<anonymous> (/opt/chetbot/server/node_modules/aws-sdk/lib/request.js:37:9) web_1 | at Request.<anonymous> (/opt/chetbot/server/node_modules/aws-sdk/lib/request.js:598:12) web_1 | at Request.callListeners (/opt/chetbot/server/node_modules/aws-sdk/lib/sequential_executor.js:115:18) web_1 | at callNextListener (/opt/chetbot/server/node_modules/aws-sdk/lib/sequential_executor.js:95:12) web_1 | at IncomingMessage.onEnd (/opt/chetbot/server/node_modules/aws-sdk/lib/event_listeners.js:209:11) web_1 | at emitNone (events.js:85:20) web_1 | at IncomingMessage.emit (events.js:179:7) web_1 | at endReadableNT (_stream_readable.js:906:12) web_1 | at nextTickCallbackWith2Args (node.js:475:9) web_1 | at process._tickDomainCallback (node.js:430:17) web_1 | From previous event: web_1 | at DocumentClient.ret [as updateAsync] (<anonymous>:8:21) web_1 | at Object.fns.(anonymous function) [as update] (/opt/chetbot/server/db.js:137:43) web_1 | at Object.exports.set_email_enabled (/opt/chetbot/server/model/users.coffee:39:15) web_1 | at /opt/chetbot/server/routes/api.coffee:22:19 web_1 | at Layer.handle [as handle_request] (/opt/chetbot/server/node_modules/express/lib/router/layer.js:95:5) web_1 | at next (/opt/chetbot/server/node_modules/express/lib/router/route.js:131:13) web_1 | at /opt/chetbot/server/routes/auth.js:143:7 web_1 | at Layer.handle [as handle_request] (/opt/chetbot/server/node_modules/express/lib/router/layer.js:95:5) web_1 | at next (/opt/chetbot/server/node_modules/express/lib/router/route.js:131:13) web_1 | at login_required (/opt/chetbot/server/routes/auth.js:117:12) web_1 | at Layer.handle [as handle_request] (/opt/chetbot/server/node_modules/express/lib/router/layer.js:95:5) web_1 | at next (/opt/chetbot/server/node_modules/express/lib/router/route.js:131:13) web_1 | at Route.dispatch (/opt/chetbot/server/node_modules/express/lib/router/route.js:112:3) web_1 | at Layer.handle [as handle_request] (/opt/chetbot/server/node_modules/express/lib/router/layer.js:95:5) web_1 | at /opt/chetbot/server/node_modules/express/lib/router/index.js:277:22 web_1 | at param (/opt/chetbot/server/node_modules/express/lib/router/index.js:349:14) web_1 | at param (/opt/chetbot/server/node_modules/express/lib/router/index.js:365:14) web_1 | at Function.process_params (/opt/chetbot/server/node_modules/express/lib/router/index.js:410:3) web_1 | at next (/opt/chetbot/server/node_modules/express/lib/router/index.js:271:10) web_1 | at /opt/chetbot/server/node_modules/connect-flash/lib/flash.js:21:5 web_1 | at Layer.handle [as handle_request] (/opt/chetbot/server/node_modules/express/lib/router/layer.js:95:5) web_1 | at trim_prefix (/opt/chetbot/server/node_modules/express/lib/router/index.js:312:13) web_1 | at /opt/chetbot/server/node_modules/express/lib/router/index.js:280:7 web_1 | at Function.process_params (/opt/chetbot/server/node_modules/express/lib/router/index.js:330:12) web_1 | at next (/opt/chetbot/server/node_modules/express/lib/router/index.js:271:10) web_1 | at SessionStrategy.strategy.pass (/opt/chetbot/server/node_modules/passport/lib/middleware/authenticate.js:318:9) web_1 | at /opt/chetbot/server/node_modules/passport/lib/strategies/session.js:61:12 web_1 | at pass (/opt/chetbot/server/node_modules/passport/lib/authenticator.js:333:31) web_1 | at deserialized (/opt/chetbot/server/node_modules/passport/lib/authenticator.js:345:7) web_1 | at /opt/chetbot/server/routes/auth.js:26:28 web_1 | at tryCatcher (/opt/chetbot/server/node_modules/dynasty/node_modules/bluebird/js/main/util.js:26:23) web_1 | at Promise._settlePromiseFromHandler (/opt/chetbot/server/node_modules/dynasty/node_modules/bluebird/js/main/promise.js:507:31) web_1 | at Promise._settlePromiseAt (/opt/chetbot/server/node_modules/dynasty/node_modules/bluebird/js/main/promise.js:581:18) web_1 | at Async._drainQueue (/opt/chetbot/server/node_modules/dynasty/node_modules/bluebird/js/main/async.js:128:12) web_1 | at Async._drainQueues (/opt/chetbot/server/node_modules/dynasty/node_modules/bluebird/js/main/async.js:133:10) web_1 | at Immediate.Async.drainQueues [as _onImmediate] (/opt/chetbot/server/node_modules/dynasty/node_modules/bluebird/js/main/async.js:15:14) web_1 | at processImmediate [as _immediateCallback] (timers.js:383:17)