mirror of https://github.com/n1nj4sec/pupy.git
Handle all exceptions during module load
This commit is contained in:
parent
72ea3afbad
commit
2c371ec67b
|
@ -658,7 +658,7 @@ class PupyServer(object):
|
||||||
continue
|
continue
|
||||||
try:
|
try:
|
||||||
yield self.get_module(module_name)
|
yield self.get_module(module_name)
|
||||||
except ImportError as e:
|
except Exception, e:
|
||||||
logging.warning("%s : module %s disabled"%(e, module_name))
|
logging.warning("%s : module %s disabled"%(e, module_name))
|
||||||
|
|
||||||
def get_module_completer(self, module_name):
|
def get_module_completer(self, module_name):
|
||||||
|
|
Loading…
Reference in New Issue