{"action":"closed","issue":{"url":"https://api.github.com/repos/valery-barysok/session-file-store/issues/31","repository_url":"https://api.github.com/repos/valery-barysok/session-file-store","labels_url":"https://api.github.com/repos/valery-barysok/session-file-store/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/valery-barysok/session-file-store/issues/31/comments","events_url":"https://api.github.com/repos/valery-barysok/session-file-store/issues/31/events","html_url":"https://github.com/valery-barysok/session-file-store/issues/31","id":128966915,"number":31,"title":"Session file truncated after fatal exception","user":{"login":"erg0dic","id":5550520,"avatar_url":"https://avatars.githubusercontent.com/u/5550520?v=3","gravatar_id":"","url":"https://api.github.com/users/erg0dic","html_url":"https://github.com/erg0dic","followers_url":"https://api.github.com/users/erg0dic/followers","following_url":"https://api.github.com/users/erg0dic/following{/other_user}","gists_url":"https://api.github.com/users/erg0dic/gists{/gist_id}","starred_url":"https://api.github.com/users/erg0dic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erg0dic/subscriptions","organizations_url":"https://api.github.com/users/erg0dic/orgs","repos_url":"https://api.github.com/users/erg0dic/repos","events_url":"https://api.github.com/users/erg0dic/events{/privacy}","received_events_url":"https://api.github.com/users/erg0dic/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-26T22:42:35Z","updated_at":"2016-03-04T21:27:06Z","closed_at":"2016-03-04T21:27:06Z","body":"If my application is taken down by an unhandled exception, I get the following error when trying to load the session:\r\n\r\n```\r\n[session-file-store] will retry, error on last attempt: SyntaxError: Unexpected end of input\r\n```\r\n\r\nI see on disk that the file has been truncated to 0 bytes.\r\n\r\nOther details:\r\nOS X El Capitan 10.11\r\nSession is in /var/tmp/"}}