commit | b4d5dff8ec4f1c8a44db66d368e95d359b04aea7 | [log] [tgz] |
---|---|---|
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | Wed Jun 05 13:16:25 2019 -0300 |
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | Wed Jun 05 13:16:25 2019 -0300 |
tree | e87fbd3bcbf8a271429ee31f32eaf928058ab376 | |
parent | 14edd364c3abcb758e74c68a2bdd4ddaeefdae2a [diff] |
Multiple errors in '__toclose' report the first one When there are multiple errors when closing objects, the error reported by the protected call is the first one, for two reasons: First, other errors may be caused by this one; second, the first error is handled in the original execution context, and therefore has the full traceback.