Status: New
Owner: ----
Labels: Type-Enhancement Priority-Medium

New issue 1561 by nahor.j: post-review: obscure error if the review id is invalid

What version are you running?
post-review 0.8

Describe the enhancement and the motivation for it.
If one calls post-review with an invalid review id
(-r/--review-request-id), post-review fails with an obscure error:

Traceback (most recent call last):
  File "/usr/bin/post-review", line 9, in <module>
    load_entry_point('RBTools==0.2rc1', 'console_scripts', 'post-review')()
line 2808, in main
line 2500, in tempt_fate
    die("Error getting review request %s: %s" % (options.rid, e))
line 128, in __str__
    if 'err' in self.rsp:
TypeError: argument of type 'NoneType' is not iterable

You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:

You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to