{"action":"closed","issue":{"url":"https://api.github.com/repos/pixelated/pixelated-user-agent/issues/535","repository_url":"https://api.github.com/repos/pixelated/pixelated-user-agent","labels_url":"https://api.github.com/repos/pixelated/pixelated-user-agent/issues/535/labels{/name}","comments_url":"https://api.github.com/repos/pixelated/pixelated-user-agent/issues/535/comments","events_url":"https://api.github.com/repos/pixelated/pixelated-user-agent/issues/535/events","html_url":"https://github.com/pixelated/pixelated-user-agent/issues/535","id":118889207,"number":535,"title":"User agent isn't stopping on critical bootstrap errors","user":{"login":"shyba","id":1302078,"avatar_url":"https://avatars.githubusercontent.com/u/1302078?v=3","gravatar_id":"","url":"https://api.github.com/users/shyba","html_url":"https://github.com/shyba","followers_url":"https://api.github.com/users/shyba/followers","following_url":"https://api.github.com/users/shyba/following{/other_user}","gists_url":"https://api.github.com/users/shyba/gists{/gist_id}","starred_url":"https://api.github.com/users/shyba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shyba/subscriptions","organizations_url":"https://api.github.com/users/shyba/orgs","repos_url":"https://api.github.com/users/shyba/repos","events_url":"https://api.github.com/users/shyba/events{/privacy}","received_events_url":"https://api.github.com/users/shyba/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pixelated/pixelated-user-agent/labels/bug","name":"bug","color":"f7c6c7"},{"url":"https://api.github.com/repos/pixelated/pixelated-user-agent/labels/Error%20Handling","name":"Error Handling","color":"ff9f80"}],"state":"closed","locked":false,"assignee":{"login":"cz8s","id":369402,"avatar_url":"https://avatars.githubusercontent.com/u/369402?v=3","gravatar_id":"","url":"https://api.github.com/users/cz8s","html_url":"https://github.com/cz8s","followers_url":"https://api.github.com/users/cz8s/followers","following_url":"https://api.github.com/users/cz8s/following{/other_user}","gists_url":"https://api.github.com/users/cz8s/gists{/gist_id}","starred_url":"https://api.github.com/users/cz8s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cz8s/subscriptions","organizations_url":"https://api.github.com/users/cz8s/orgs","repos_url":"https://api.github.com/users/cz8s/repos","events_url":"https://api.github.com/users/cz8s/events{/privacy}","received_events_url":"https://api.github.com/users/cz8s/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-11-25T17:43:44Z","updated_at":"2016-06-15T13:02:49Z","closed_at":"2016-06-15T13:02:49Z","body":"Example:\r\n```\r\npixelated-user-agent --config=invalid -lf strange\r\n2015-11-25 14:41:12 [twisted] ERROR Traceback (most recent call last):\r\n2015-11-25 14:41:12 [twisted] ERROR   File \"/home/vshyba/venvs/snappix/bin/pixelated-user-agent\", line 9, in <module>\r\n2015-11-25 14:41:12 [twisted] ERROR     load_entry_point('pixelated-user-agent==0.1', 'console_scripts', 'pixelated-user-agent')()\r\n2015-11-25 14:41:12 [twisted] ERROR   File \"/home/vshyba/repos/pixelated/pixelated-user-agent/service/pixelated/application.py\", line 79, in initialize\r\n2015-11-25 14:41:12 [twisted] ERROR     args.leap_home)\r\n2015-11-25 14:41:12 [twisted] ERROR   File \"/home/vshyba/venvs/snappix/local/lib/python2.7/site-packages/twisted/internet/defer.py\", line 1274, in unwindGenerator\r\n2015-11-25 14:41:12 [twisted] ERROR     return _inlineCallbacks(None, gen, Deferred())\r\n2015-11-25 14:41:12 [twisted] ERROR --- <exception caught here> ---\r\n2015-11-25 14:41:12 [twisted] ERROR   File \"/home/vshyba/venvs/snappix/local/lib/python2.7/site-packages/twisted/internet/defer.py\", line 1128, in _inlineCallbacks\r\n2015-11-25 14:41:12 [twisted] ERROR     result = g.send(result)\r\n2015-11-25 14:41:12 [twisted] ERROR   File \"/home/vshyba/repos/pixelated/pixelated-user-agent/service/pixelated/config/leap.py\", line 31, in initialize_leap\r\n2015-11-25 14:41:12 [twisted] ERROR     credentials_file)\r\n2015-11-25 14:41:12 [twisted] ERROR   File \"/home/vshyba/repos/pixelated/pixelated-user-agent/service/pixelated/config/credentials.py\", line 29, in read\r\n2015-11-25 14:41:12 [twisted] ERROR     return read_from_file(credentials_file)\r\n2015-11-25 14:41:12 [twisted] ERROR   File \"/home/vshyba/repos/pixelated/pixelated-user-agent/service/pixelated/config/credentials.py\", line 45, in read_from_file\r\n2015-11-25 14:41:12 [twisted] ERROR     config_parser.get('pixelated', 'leap_server_name'), \\\r\n2015-11-25 14:41:12 [twisted] ERROR   File \"/usr/lib/python2.7/ConfigParser.py\", line 607, in get\r\n2015-11-25 14:41:12 [twisted] ERROR     raise NoSectionError(section)\r\n2015-11-25 14:41:12 [twisted] ERROR ConfigParser.NoSectionError: No section: 'pixelated'\r\n```\r\n\r\nIt keeps running, but this error should trigger a system exit.\r\n\r\nDefinition of done\r\n=================\r\nGiven a bad argument or critical error during bootstrap, user agent should quit with exit code 1."}}
{"actor":{"display_login":"deniscostadsc"}}