{"action":"created","issue":{"url":"https://api.github.com/repos/borgbackup/borg/issues/57","labels_url":"https://api.github.com/repos/borgbackup/borg/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/borgbackup/borg/issues/57/comments","events_url":"https://api.github.com/repos/borgbackup/borg/issues/57/events","html_url":"https://github.com/borgbackup/borg/issues/57","id":89041264,"number":57,"title":"Have pretty error msgs without losing debug capability","user":{"login":"rumpelsepp","id":1961699,"avatar_url":"https://avatars.githubusercontent.com/u/1961699?v=3","gravatar_id":"","url":"https://api.github.com/users/rumpelsepp","html_url":"https://github.com/rumpelsepp","followers_url":"https://api.github.com/users/rumpelsepp/followers","following_url":"https://api.github.com/users/rumpelsepp/following{/other_user}","gists_url":"https://api.github.com/users/rumpelsepp/gists{/gist_id}","starred_url":"https://api.github.com/users/rumpelsepp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rumpelsepp/subscriptions","organizations_url":"https://api.github.com/users/rumpelsepp/orgs","repos_url":"https://api.github.com/users/rumpelsepp/repos","events_url":"https://api.github.com/users/rumpelsepp/events{/privacy}","received_events_url":"https://api.github.com/users/rumpelsepp/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/borgbackup/borg/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/borgbackup/borg/milestones/5","html_url":"https://github.com/borgbackup/borg/milestones/0.27","labels_url":"https://api.github.com/repos/borgbackup/borg/milestones/5/labels","id":1291743,"number":5,"title":"0.27","description":"","creator":{"login":"ThomasWaldmann","id":356103,"avatar_url":"https://avatars.githubusercontent.com/u/356103?v=3","gravatar_id":"","url":"https://api.github.com/users/ThomasWaldmann","html_url":"https://github.com/ThomasWaldmann","followers_url":"https://api.github.com/users/ThomasWaldmann/followers","following_url":"https://api.github.com/users/ThomasWaldmann/following{/other_user}","gists_url":"https://api.github.com/users/ThomasWaldmann/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasWaldmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasWaldmann/subscriptions","organizations_url":"https://api.github.com/users/ThomasWaldmann/orgs","repos_url":"https://api.github.com/users/ThomasWaldmann/repos","events_url":"https://api.github.com/users/ThomasWaldmann/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasWaldmann/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":0,"state":"open","created_at":"2015-09-05T09:52:03Z","updated_at":"2015-09-21T19:33:41Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-06-17T14:59:39Z","updated_at":"2015-09-30T21:54:10Z","closed_at":null,"body":"When I try to push to an existing archive an exception is raised. A nice error message would be better.\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python3.4/site-packages/borg/archiver.py\", line 857, in main\r\n    exit_code = archiver.run(sys.argv[1:])\r\n  File \"/usr/lib/python3.4/site-packages/borg/archiver.py\", line 813, in run\r\n    return args.func(args)\r\n  File \"/usr/lib/python3.4/site-packages/borg/archiver.py\", line 107, in do_create\r\n    numeric_owner=args.numeric_owner, progress=args.progress)\r\n  File \"/usr/lib/python3.4/site-packages/borg/archive.py\", line 148, in __init__\r\n    raise self.AlreadyExists(name)\r\nborg.archive.AlreadyExists: laptop-2015-06-17\r\nborg: Error: Archive laptop-2015-06-17 already exists\r\n```"},"comment":{"url":"https://api.github.com/repos/borgbackup/borg/issues/comments/144552906","html_url":"https://github.com/borgbackup/borg/issues/57#issuecomment-144552906","issue_url":"https://api.github.com/repos/borgbackup/borg/issues/57","id":144552906,"user":{"login":"anarcat","id":796623,"avatar_url":"https://avatars.githubusercontent.com/u/796623?v=3","gravatar_id":"","url":"https://api.github.com/users/anarcat","html_url":"https://github.com/anarcat","followers_url":"https://api.github.com/users/anarcat/followers","following_url":"https://api.github.com/users/anarcat/following{/other_user}","gists_url":"https://api.github.com/users/anarcat/gists{/gist_id}","starred_url":"https://api.github.com/users/anarcat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anarcat/subscriptions","organizations_url":"https://api.github.com/users/anarcat/orgs","repos_url":"https://api.github.com/users/anarcat/repos","events_url":"https://api.github.com/users/anarcat/events{/privacy}","received_events_url":"https://api.github.com/users/anarcat/received_events","type":"User","site_admin":false},"created_at":"2015-09-30T21:54:10Z","updated_at":"2015-09-30T21:54:10Z","body":"true. then we could have two classes of exceptions: warnings and errors, maybe? the latter being the only one triggering an exception..."}}