{"action":"created","issue":{"url":"https://api.github.com/repos/keichan34/exfile/issues/15","repository_url":"https://api.github.com/repos/keichan34/exfile","labels_url":"https://api.github.com/repos/keichan34/exfile/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/keichan34/exfile/issues/15/comments","events_url":"https://api.github.com/repos/keichan34/exfile/issues/15/events","html_url":"https://github.com/keichan34/exfile/issues/15","id":143952052,"number":15,"title":"Error when uploading a file","user":{"login":"keichan34","id":1064513,"avatar_url":"https://avatars.githubusercontent.com/u/1064513?v=3","gravatar_id":"","url":"https://api.github.com/users/keichan34","html_url":"https://github.com/keichan34","followers_url":"https://api.github.com/users/keichan34/followers","following_url":"https://api.github.com/users/keichan34/following{/other_user}","gists_url":"https://api.github.com/users/keichan34/gists{/gist_id}","starred_url":"https://api.github.com/users/keichan34/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keichan34/subscriptions","organizations_url":"https://api.github.com/users/keichan34/orgs","repos_url":"https://api.github.com/users/keichan34/repos","events_url":"https://api.github.com/users/keichan34/events{/privacy}","received_events_url":"https://api.github.com/users/keichan34/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-28T11:08:48Z","updated_at":"2016-03-28T12:39:10Z","closed_at":null,"body":"```\r\nServer: localhost:4000 (http)\r\nRequest: POST /attachments/cache\r\n** (exit) an exception was raised:\r\n    ** (UndefinedFunctionError) undefined function :error.backend_mod/1 (module :error is not available)\r\n        :error.backend_mod({:error, :enoent})\r\n        (exfile) Exfile.Backend.upload/2\r\n        (exfile) lib/exfile/router.ex:172: Exfile.Router.process_uploaded_file/3 \r\n        (exfile) lib/exfile/router.ex:1: Exfile.Router.plug_builder_call/2\r\n        (phoenix) lib/phoenix/router/route.ex:157: Phoenix.Router.Route.forward/4\r\n        (my_app) lib/phoenix/router.ex:261: MyApp.Router.dispatch/2\r\n        (my_app) web/router.ex:1: MyApp.Router.do_call/2\r\n        (my_app) lib/my_app/endpoint.ex:1: MyApp.Endpoint.phoenix_pipeline/1\r\n```"},"comment":{"url":"https://api.github.com/repos/keichan34/exfile/issues/comments/202369807","html_url":"https://github.com/keichan34/exfile/issues/15#issuecomment-202369807","issue_url":"https://api.github.com/repos/keichan34/exfile/issues/15","id":202369807,"user":{"login":"keichan34","id":1064513,"avatar_url":"https://avatars.githubusercontent.com/u/1064513?v=3","gravatar_id":"","url":"https://api.github.com/users/keichan34","html_url":"https://github.com/keichan34","followers_url":"https://api.github.com/users/keichan34/followers","following_url":"https://api.github.com/users/keichan34/following{/other_user}","gists_url":"https://api.github.com/users/keichan34/gists{/gist_id}","starred_url":"https://api.github.com/users/keichan34/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keichan34/subscriptions","organizations_url":"https://api.github.com/users/keichan34/orgs","repos_url":"https://api.github.com/users/keichan34/repos","events_url":"https://api.github.com/users/keichan34/events{/privacy}","received_events_url":"https://api.github.com/users/keichan34/received_events","type":"User","site_admin":false},"created_at":"2016-03-28T12:39:10Z","updated_at":"2016-03-28T12:39:10Z","body":"This error occurs when `Exfile.Config.get_backend(\"backend name\")` has a return value of `{:error, :enoent}`. In this case, it was the cache backend, so it was trying to make the cache directory and probably failed."}}