{"action":"created","issue":{"url":"https://api.github.com/repos/peerlibrary/meteor-aws-sdk/issues/12","labels_url":"https://api.github.com/repos/peerlibrary/meteor-aws-sdk/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/peerlibrary/meteor-aws-sdk/issues/12/comments","events_url":"https://api.github.com/repos/peerlibrary/meteor-aws-sdk/issues/12/events","html_url":"https://github.com/peerlibrary/meteor-aws-sdk/issues/12","id":56772869,"number":12,"title":"Catching exceptions [Future resolved more than once]","user":{"login":"jaskinn","id":1704844,"avatar_url":"https://avatars.githubusercontent.com/u/1704844?v=3","gravatar_id":"","url":"https://api.github.com/users/jaskinn","html_url":"https://github.com/jaskinn","followers_url":"https://api.github.com/users/jaskinn/followers","following_url":"https://api.github.com/users/jaskinn/following{/other_user}","gists_url":"https://api.github.com/users/jaskinn/gists{/gist_id}","starred_url":"https://api.github.com/users/jaskinn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaskinn/subscriptions","organizations_url":"https://api.github.com/users/jaskinn/orgs","repos_url":"https://api.github.com/users/jaskinn/repos","events_url":"https://api.github.com/users/jaskinn/events{/privacy}","received_events_url":"https://api.github.com/users/jaskinn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-06T05:45:42Z","updated_at":"2015-02-12T01:14:42Z","closed_at":null,"body":"I am getting a AWS SQS Queue name (in response to a POST from an external source) - no problems. So I moved on to testing what happens when I cannot.\r\n\r\nThe first error appears to drop through to the catch as you would expect, then the second time also falls through to the catch - however then Meteor exits (code 8) with 'Error: Future resolved more than once'.\r\n\r\n```javascript\r\nRouter.route('/notify', {\r\n    name: 'notify',\r\n    where: 'server'\r\n    })\r\n    .post(function() {\r\n        console.log('starting notify');\r\n        try {\r\n            var sqs = new AWS.SQS();\r\n            var queueParams = {\r\n                QueueName: 'nup',\r\n                QueueOwnerAWSAccountId: '42'\r\n            };\r\n            var res = sqs.getQueueUrlSync(queueParams);\r\n         }\r\n         catch(e) {\r\n            console.log(e);\r\n         }\r\n        this.response.writeHead(200, {'Content-Type': 'text/html'});\r\n        this.response.end();\r\n    }\r\n);\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/peerlibrary/meteor-aws-sdk/issues/comments/73999751","html_url":"https://github.com/peerlibrary/meteor-aws-sdk/issues/12#issuecomment-73999751","issue_url":"https://api.github.com/repos/peerlibrary/meteor-aws-sdk/issues/12","id":73999751,"user":{"login":"mpranjic","id":2545452,"avatar_url":"https://avatars.githubusercontent.com/u/2545452?v=3","gravatar_id":"","url":"https://api.github.com/users/mpranjic","html_url":"https://github.com/mpranjic","followers_url":"https://api.github.com/users/mpranjic/followers","following_url":"https://api.github.com/users/mpranjic/following{/other_user}","gists_url":"https://api.github.com/users/mpranjic/gists{/gist_id}","starred_url":"https://api.github.com/users/mpranjic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpranjic/subscriptions","organizations_url":"https://api.github.com/users/mpranjic/orgs","repos_url":"https://api.github.com/users/mpranjic/repos","events_url":"https://api.github.com/users/mpranjic/events{/privacy}","received_events_url":"https://api.github.com/users/mpranjic/received_events","type":"User","site_admin":false},"created_at":"2015-02-12T01:14:42Z","updated_at":"2015-02-12T01:14:42Z","body":"I have tried with ```Meteor.wrapAsync``` instead of using \"Sync\" method and nothing changes."}}