forked from orbit-oss/flask
Merge branch '0.10-maintenance'
This commit is contained in:
commit
81ae94a5fd
3 changed files with 17 additions and 2 deletions
|
|
@ -1769,8 +1769,9 @@ class Flask(_PackageBoundObject):
|
|||
rv = handler(error, endpoint, values)
|
||||
if rv is not None:
|
||||
return rv
|
||||
except BuildError as error:
|
||||
pass
|
||||
except BuildError as e:
|
||||
# make error available outside except block (py3)
|
||||
error = e
|
||||
|
||||
# At this point we want to reraise the exception. If the error is
|
||||
# still the same one we can reraise it with the original traceback,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue