Commit 0711965
Jakub Kaczmarzyk
bf: preserve error output if not valid klass
The scope of variable `e` in `except Exception as e` is the `except block` in python3. Trying to raise it out of the `except` block will raise an `UnboundLocalError`.1 parent e48b746 commit 0711965
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
| 136 | + | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
| 139 | + | |
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| |||
0 commit comments