mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
[fix] no catchall exception
This commit is contained in:
parent
8566eaaa1f
commit
2caf1234e8
1 changed files with 1 additions and 1 deletions
|
@ -371,7 +371,7 @@ class _CallbackAction(argparse.Action):
|
|||
try:
|
||||
# Execute callback and get returned value
|
||||
value = self.callback(namespace, values, **self.callback_kwargs)
|
||||
except:
|
||||
except Exception:
|
||||
logger.exception(
|
||||
"cannot get value from callback method "
|
||||
"'{0}'".format(self.callback_method)
|
||||
|
|
Loading…
Add table
Reference in a new issue