- change : 添加加载交易接口错误的log

This commit is contained in:
lamter 2017-04-26 22:28:15 +08:00
parent bad997ce9f
commit ee36ddea45

View File

@ -29,5 +29,8 @@ for root, subdirs, files in os.walk(path):
# 使用importlib动态载入模块并保存到字典中
module = importlib.import_module(moduleName)
GATEWAY_DICT[module.gatewayName] = module
print('load %s' % moduleName)
except ImportError:
print('module %s not find ' % moduleName)
except:
traceback.print_exc()