| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 88d61a9 commit f90f47b
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -256,7 +256,7 @@ public static void SetError(Exception e) | |||
| 256 | 256 | var pe = e as PythonException; | |
| 257 | 257 | if (pe != null) | |
| 258 | 258 | { | |
| 259 | - Runtime.PyErr_SetObject(pe.PyType, pe.PyValue); | ||
| 259 | + Runtime.PyErr_Restore(pe.PyType, pe.PyValue, pe.PyTB); | ||
| 260 | 260 | return; | |
| 261 | 261 | } | |
| 262 | 262 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments