Updated openstack/openstack
Project: openstack-infra/git-review 58851ab3143e24e2ab988699722a5936da89aa08 Avoid AttributeError when raising raw GitReviewExceptions Previously, if a GitReviewException was raised (not, for example, a BranchTrackingMismatch or GitDirectoriesException which subclasses it, but an actual GitReviewException), it would still get handled in main(), but it wouldn't have an EXIT_CODE attribute. This happens, for example, in add_remote(), if test_remote_url() fails both times. Now, if the caught exception doesn't have an EXIT_CODE, it will default to -1. Change-Id: I8529b320795717ef8d19ca87d3fa6bd523ef93ae
This commit is contained in:
parent
7356042207
commit
83eda0ba14
|
@ -1 +1 @@
|
|||
Subproject commit 66da56d8952fec34d34f63025b603d2666a30a25
|
||||
Subproject commit 58851ab3143e24e2ab988699722a5936da89aa08
|
Loading…
Reference in New Issue