{"action":"created","issue":{"url":"https://api.github.com/repos/vote539/socketio-file-upload/issues/27","labels_url":"https://api.github.com/repos/vote539/socketio-file-upload/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/vote539/socketio-file-upload/issues/27/comments","events_url":"https://api.github.com/repos/vote539/socketio-file-upload/issues/27/events","html_url":"https://github.com/vote539/socketio-file-upload/issues/27","id":97670995,"number":27,"title":"Server crashes with: ENOENT, utime error","user":{"login":"mritzco","id":4988324,"avatar_url":"https://avatars.githubusercontent.com/u/4988324?v=3","gravatar_id":"","url":"https://api.github.com/users/mritzco","html_url":"https://github.com/mritzco","followers_url":"https://api.github.com/users/mritzco/followers","following_url":"https://api.github.com/users/mritzco/following{/other_user}","gists_url":"https://api.github.com/users/mritzco/gists{/gist_id}","starred_url":"https://api.github.com/users/mritzco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mritzco/subscriptions","organizations_url":"https://api.github.com/users/mritzco/orgs","repos_url":"https://api.github.com/users/mritzco/repos","events_url":"https://api.github.com/users/mritzco/events{/privacy}","received_events_url":"https://api.github.com/users/mritzco/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-28T10:32:49Z","updated_at":"2015-07-29T09:47:40Z","closed_at":null,"body":"Hi,\r\n\r\nWe have an application running stable for several months but today we got a server crash because of an ENOENT, utime error, from the file server.js line 156\r\n\r\nAfter looking at the code I can see it's related to changing the file modified time:\r\n\r\n    fs.utimes(...\r\n        if (err) { ...\r\n            throw err\r\n\r\nEven tough the throw is inside a try-catch block the application crashed. Interestingly the file was properly uploaded, moved and the time stamp was actually updated.\r\n\r\nI understand it's mysterious than the try-catch block failed to do its job, but as it seems to be a small error does it justify risking a throw? \r\n\r\nAny clue on how to prevent it, or should I send a pull request replacing the throw with a log message?\r\n\r\nThanks!\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/vote539/socketio-file-upload/issues/comments/125898869","html_url":"https://github.com/vote539/socketio-file-upload/issues/27#issuecomment-125898869","issue_url":"https://api.github.com/repos/vote539/socketio-file-upload/issues/27","id":125898869,"user":{"login":"mritzco","id":4988324,"avatar_url":"https://avatars.githubusercontent.com/u/4988324?v=3","gravatar_id":"","url":"https://api.github.com/users/mritzco","html_url":"https://github.com/mritzco","followers_url":"https://api.github.com/users/mritzco/followers","following_url":"https://api.github.com/users/mritzco/following{/other_user}","gists_url":"https://api.github.com/users/mritzco/gists{/gist_id}","starred_url":"https://api.github.com/users/mritzco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mritzco/subscriptions","organizations_url":"https://api.github.com/users/mritzco/orgs","repos_url":"https://api.github.com/users/mritzco/repos","events_url":"https://api.github.com/users/mritzco/events{/privacy}","received_events_url":"https://api.github.com/users/mritzco/received_events","type":"User","site_admin":false},"created_at":"2015-07-29T09:47:40Z","updated_at":"2015-07-29T09:47:40Z","body":"I just did, something went wrong and instead of referring this issue it opened a new one, sorry about that.\r\nhttps://github.com/vote539/socketio-file-upload/pull/28"}}