mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Reraise correctly the error
This commit is contained in:
parent
65c18dcaa1
commit
312429d92a
1 changed files with 2 additions and 2 deletions
|
@ -251,8 +251,8 @@ def is_unit_operation(entities='app,domain,service,user', exclude='auth,password
|
||||||
result = func(*args, **kwargs)
|
result = func(*args, **kwargs)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
uo.error(e)
|
uo.error(e)
|
||||||
import pdb;pdb.set_trace()
|
t, v, tb = exc_info()
|
||||||
raise e
|
raise t, v, tb
|
||||||
else:
|
else:
|
||||||
uo.success()
|
uo.success()
|
||||||
return result
|
return result
|
||||||
|
|
Loading…
Add table
Reference in a new issue