diff --git a/chatops/python/gitlab-to-pentext.py b/chatops/python/gitlab-to-pentext.py index 26ef11c..7710b68 100644 --- a/chatops/python/gitlab-to-pentext.py +++ b/chatops/python/gitlab-to-pentext.py @@ -202,11 +202,14 @@ def list_issues(gitserver, options): """ Lists all issues for options['issues'] """ - for issue in gitserver.project_issues.list(project_id=options['issues'], - per_page=999): - if issue.state == 'closed' and not options['closed']: - continue - add_item(issue, options) + try: + for issue in gitserver.project_issues.list(project_id=options['issues'], + per_page=999): + if issue.state == 'closed' and not options['closed']: + continue + add_item(issue, options) + except gitlab.exceptions.GitlabListError as exception: + print_error('Could not access items ({0})'.format(exception)) def list_projects(gitserver): diff --git a/xml/RELEASE_NOTES.md b/xml/RELEASE_NOTES.md index 14af4c9..a6424a4 100644 --- a/xml/RELEASE_NOTES.md +++ b/xml/RELEASE_NOTES.md @@ -18,6 +18,8 @@ March 29th, 2017 In reports, you now have access to the `` placeholder. It takes an optional attribute `@threatLevel` and returns the number of findings with that threatLevel in the report. If no `@threatLevel` attribute is added, it returns the total number of findings in the report. Useful for Results in a Nutshell type of texts. +Example: `` + March 20th, 2017 ----------------