diff options
| author | Dan Halbert <halbert@halwitz.org> | 2018-11-07 14:12:22 -0500 |
|---|---|---|
| committer | Dan Halbert <halbert@halwitz.org> | 2018-11-07 14:12:22 -0500 |
| commit | 64d457dad9bb3843ee468136022996ecb91a98df (patch) | |
| tree | c3bfee81668dbd842039c178222fda9df77a9b76 /py/modsys.c | |
| parent | 4bc24c4f6084e414f0fb00299aae7d7cfdb76aba (diff) | |
| parent | 283e07254e9eb50e52d6f07b7ac177feeef02d83 (diff) | |
bring bleio PR up to date
Diffstat (limited to 'py/modsys.c')
| -rw-r--r-- | py/modsys.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/modsys.c b/py/modsys.c index e32841923..68e048d91 100644 --- a/py/modsys.c +++ b/py/modsys.c @@ -135,7 +135,7 @@ STATIC mp_obj_t mp_sys_exc_info(void) { t->items[0] = MP_OBJ_FROM_PTR(mp_obj_get_type(cur_exc)); t->items[1] = cur_exc; - t->items[2] = mp_const_none; + t->items[2] = mp_obj_exception_get_traceback_obj(cur_exc); return MP_OBJ_FROM_PTR(t); } MP_DEFINE_CONST_FUN_OBJ_0(mp_sys_exc_info_obj, mp_sys_exc_info); |
