mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 03:33:11 +01:00
commands.py: raise the exception instead of returning is if --disable-multiprocessing is given.
This commit is contained in:
parent
573d4a0158
commit
536ec37037
@ -99,7 +99,7 @@ def process(f, *args, **kwargs):
|
||||
try:
|
||||
return f(*args, **kwargs)
|
||||
except Exception as e:
|
||||
return e
|
||||
raise e
|
||||
|
||||
q = multiprocessing.Queue()
|
||||
def newf(f, q, *args, **kwargs):
|
||||
|
Loading…
Reference in New Issue
Block a user