{"action":"created","issue":{"url":"https://api.github.com/repos/Automattic/mongoose/issues/4064","repository_url":"https://api.github.com/repos/Automattic/mongoose","labels_url":"https://api.github.com/repos/Automattic/mongoose/issues/4064/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/mongoose/issues/4064/comments","events_url":"https://api.github.com/repos/Automattic/mongoose/issues/4064/events","html_url":"https://github.com/Automattic/mongoose/issues/4064","id":147377136,"number":4064,"title":"Model.save() callback not called","user":{"login":"mtimofiiv","id":428948,"avatar_url":"https://avatars.githubusercontent.com/u/428948?v=3","gravatar_id":"","url":"https://api.github.com/users/mtimofiiv","html_url":"https://github.com/mtimofiiv","followers_url":"https://api.github.com/users/mtimofiiv/followers","following_url":"https://api.github.com/users/mtimofiiv/following{/other_user}","gists_url":"https://api.github.com/users/mtimofiiv/gists{/gist_id}","starred_url":"https://api.github.com/users/mtimofiiv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtimofiiv/subscriptions","organizations_url":"https://api.github.com/users/mtimofiiv/orgs","repos_url":"https://api.github.com/users/mtimofiiv/repos","events_url":"https://api.github.com/users/mtimofiiv/events{/privacy}","received_events_url":"https://api.github.com/users/mtimofiiv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/Automattic/mongoose/milestones/110","html_url":"https://github.com/Automattic/mongoose/milestones/4.5.3","labels_url":"https://api.github.com/repos/Automattic/mongoose/milestones/110/labels","id":1823761,"number":110,"title":"4.5.3","description":"","creator":{"login":"vkarpov15","id":1620265,"avatar_url":"https://avatars.githubusercontent.com/u/1620265?v=3","gravatar_id":"","url":"https://api.github.com/users/vkarpov15","html_url":"https://github.com/vkarpov15","followers_url":"https://api.github.com/users/vkarpov15/followers","following_url":"https://api.github.com/users/vkarpov15/following{/other_user}","gists_url":"https://api.github.com/users/vkarpov15/gists{/gist_id}","starred_url":"https://api.github.com/users/vkarpov15/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vkarpov15/subscriptions","organizations_url":"https://api.github.com/users/vkarpov15/orgs","repos_url":"https://api.github.com/users/vkarpov15/repos","events_url":"https://api.github.com/users/vkarpov15/events{/privacy}","received_events_url":"https://api.github.com/users/vkarpov15/received_events","type":"User","site_admin":false},"open_issues":37,"closed_issues":0,"state":"open","created_at":"2016-06-13T14:40:21Z","updated_at":"2016-06-25T00:43:57Z","due_on":"2016-06-29T06:00:00Z","closed_at":null},"comments":17,"created_at":"2016-04-11T10:02:36Z","updated_at":"2016-06-25T01:13:19Z","closed_at":null,"body":"I have seen a few issues closed already regarding the `#save()` method and swallowing of exceptions. I've got this happening at the moment with the latest version in npm (4.4.12). Here's some code:\r\n\r\n```js\r\nconst giftcard = new Giftcard({ // new instance of the model\r\n  // setting some properties here\r\n});\r\n\r\ngiftcard.save((err) => {\r\n  if (err) throw new Error(err);\r\n  // this never happens - the callback is never called\r\n});\r\n```\r\n\r\nI can post a more detailed example if required.\r\n\r\nEdit: Also, this happens with the promise interface as well, so `giftcard.save().then()` has the same result."},"comment":{"url":"https://api.github.com/repos/Automattic/mongoose/issues/comments/228498717","html_url":"https://github.com/Automattic/mongoose/issues/4064#issuecomment-228498717","issue_url":"https://api.github.com/repos/Automattic/mongoose/issues/4064","id":228498717,"user":{"login":"dodekeract","id":1133858,"avatar_url":"https://avatars.githubusercontent.com/u/1133858?v=3","gravatar_id":"","url":"https://api.github.com/users/dodekeract","html_url":"https://github.com/dodekeract","followers_url":"https://api.github.com/users/dodekeract/followers","following_url":"https://api.github.com/users/dodekeract/following{/other_user}","gists_url":"https://api.github.com/users/dodekeract/gists{/gist_id}","starred_url":"https://api.github.com/users/dodekeract/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dodekeract/subscriptions","organizations_url":"https://api.github.com/users/dodekeract/orgs","repos_url":"https://api.github.com/users/dodekeract/repos","events_url":"https://api.github.com/users/dodekeract/events{/privacy}","received_events_url":"https://api.github.com/users/dodekeract/received_events","type":"User","site_admin":false},"created_at":"2016-06-25T01:13:18Z","updated_at":"2016-06-25T01:13:18Z","body":"@vkarpov15 I know, I unfortunately have no idea why this is happening, so I can't really write a test."}}
{"actor":{"display_login":"dodekeract"}}