Skip to content

Commit

Permalink
Merge pull request #15 from realratchet/main
Browse files Browse the repository at this point in the history
Add some missing exception info
  • Loading branch information
realratchet authored Apr 22, 2024
2 parents fbd0eed + c5e48ce commit b5fd3c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mplite/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from multiprocessing.context import BaseContext
import tblib.pickling_support as pklex

major, minor, patch = 1, 3, 0
major, minor, patch = 1, 3, 1
__version_info__ = (major, minor, patch)
__version__ = '.'.join(str(i) for i in __version_info__)
default_context = "spawn"
Expand Down Expand Up @@ -319,7 +319,7 @@ def pickle_exception(e: Exception):
else:
tback = None

fn_ex, (ex_cls, ex_txt, ex_rsn, _, *others) = pklex.pickle_exception(e)
fn_ex, (ex_cls, ex_txt, ex_rsn, _, *others), *_ = pklex.pickle_exception(e)

return fn_ex, (ex_cls, ex_txt, ex_rsn, tback, *others)

Expand Down

0 comments on commit b5fd3c6

Please sign in to comment.