Skip to content

Conversation

@Boot-Error
Copy link
Contributor

Added error handling decorator to be used by plugins for safe exit

Added FetchError to be used by plugins to raise Custom Fetch Errors
Added sys.exit for proper exit status!
return list_of_pull_requests

list_of_pulls = []
r = requests.get(BASE_URL + "/%s/%s/pulls" % (username, repository))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice PR.

just do one thing instead of %s use '{}'.format(username).

@@ -0,0 +1,25 @@
import sys
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of utils.py can you change the file name to something like review_board_Exceptions.py?
@bhavin192 what is your thougth on that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants