{"action":"closed","issue":{"url":"https://api.github.com/repos/JobtechSwe/sokannonser-api/issues/11","repository_url":"https://api.github.com/repos/JobtechSwe/sokannonser-api","labels_url":"https://api.github.com/repos/JobtechSwe/sokannonser-api/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/JobtechSwe/sokannonser-api/issues/11/comments","events_url":"https://api.github.com/repos/JobtechSwe/sokannonser-api/issues/11/events","html_url":"https://github.com/JobtechSwe/sokannonser-api/issues/11","id":374351847,"node_id":"MDU6SXNzdWUzNzQzNTE4NDc=","number":11,"title":"error on GET /complete (&q is empty)","user":{"login":"halge","id":43168945,"node_id":"MDQ6VXNlcjQzMTY4OTQ1","avatar_url":"https://avatars2.githubusercontent.com/u/43168945?v=4","gravatar_id":"","url":"https://api.github.com/users/halge","html_url":"https://github.com/halge","followers_url":"https://api.github.com/users/halge/followers","following_url":"https://api.github.com/users/halge/following{/other_user}","gists_url":"https://api.github.com/users/halge/gists{/gist_id}","starred_url":"https://api.github.com/users/halge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/halge/subscriptions","organizations_url":"https://api.github.com/users/halge/orgs","repos_url":"https://api.github.com/users/halge/repos","events_url":"https://api.github.com/users/halge/events{/privacy}","received_events_url":"https://api.github.com/users/halge/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-26T11:58:34Z","updated_at":"2018-11-07T12:54:46Z","closed_at":"2018-11-07T12:54:46Z","author_association":"CONTRIBUTOR","body":"```\r\n\r\nERROR:flask.app:Exception on /complete [GET]\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python3.6/site-packages/flask/app.py\", line 1813, in full_dispatch_request\r\n    rv = self.dispatch_request()\r\n  File \"/usr/lib/python3.6/site-packages/flask/app.py\", line 1799, in dispatch_request\r\n    return self.view_functions[rule.endpoint](**req.view_args)\r\n  File \"/usr/lib/python3.6/site-packages/flask_restplus/api.py\", line 325, in wrapper\r\n    resp = resource(*args, **kwargs)\r\n  File \"/usr/lib/python3.6/site-packages/flask/views.py\", line 88, in view\r\n    return self.dispatch_request(*args, **kwargs)\r\n  File \"/usr/lib/python3.6/site-packages/flask_restplus/resource.py\", line 44, in dispatch_request\r\n    resp = meth(*args, **kwargs)\r\n  File \"./sokannonser/rest/decorators.py\", line 22, in wrapper\r\n    return func(*args, **kwargs)\r\n  File \"./sokannonser/rest/endpoint/auranest.py\", line 33, in get\r\n    return auranest.autocomplete(args.get(settings.FREETEXT_QUERY))\r\n  File \"./sokannonser/repository/auranest.py\", line 29, in autocomplete\r\n    without_last = ' '.join(querystring.split(' ')[:-1])\r\nAttributeError: 'NoneType' object has no attribute 'split'\r\n[pid: 18|app: 0|req: 555/623] 10.131.2.1 () {50 vars in 930 bytes} [Fri Oct 26 11:53:46 2018] GET /complete => generated 37 bytes in 2 msecs (HTTP/1.1 500) 3 headers in 122 bytes (1 switches on core 0)\r\n```"}}
{"actor":{"display_login":"mskold"}}